diff options
author | jbj <devnull@localhost> | 1999-02-22 17:44:57 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-02-22 17:44:57 +0000 |
commit | 6b9fe27f52f5558f64acecb8e99b27dd21dd4192 (patch) | |
tree | 449c9446093881d60fab5006cf44f8984b86f5a0 /build/rpmspec.h | |
parent | c9ca4e44a56ec5484d6321ae2b3ef1599adf6799 (diff) | |
download | rpm-6b9fe27f52f5558f64acecb8e99b27dd21dd4192.tar.gz rpm-6b9fe27f52f5558f64acecb8e99b27dd21dd4192.tar.bz2 rpm-6b9fe27f52f5558f64acecb8e99b27dd21dd4192.zip |
permit substitution of I18N strings from PO meta-catalogues.
CVS patchset: 2824
CVS date: 1999/02/22 17:44:57
Diffstat (limited to 'build/rpmspec.h')
-rw-r--r-- | build/rpmspec.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/build/rpmspec.h b/build/rpmspec.h index 763369a7d..e88d4ee86 100644 --- a/build/rpmspec.h +++ b/build/rpmspec.h @@ -51,10 +51,34 @@ struct OpenFileInfo { /*@owned@*/ struct OpenFileInfo *next; }; +struct spectag { + int t_tag; + int t_startx; + int t_nlines; + char *t_lang; + char *t_msgid; +}; + + +struct spectags { + struct spectag *st_t; + int st_nalloc; + int st_ntags; +}; + +struct speclines { + char **sl_lines; + int sl_nalloc; + int sl_nlines; +}; + struct SpecStruct { /*@only@*/ char *specFile; /*@only@*/ char *sourceRpmName; + struct speclines *sl; + struct spectags *st; + /*@owned@*/ struct OpenFileInfo *fileStack; char line[BUFSIZ]; int lineNum; @@ -140,6 +164,7 @@ extern "C" { void freeSpec(/*@only@*/ Spec spec); struct OpenFileInfo * newOpenFileInfo(void); +struct spectag *stashSt(Spec spec, Header h, int tag, const char *lang); int addSource(Spec spec, Package pkg, char *field, int tag); int parseNoSource(Spec spec, char *field, int tag); |