diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-11-26 19:59:19 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-11-26 19:59:19 +0000 |
commit | 32d18cdb5603ba71a27661cc59d78bfaf43a36cc (patch) | |
tree | cbef628263c93aba4f3dbb99573f0dc538db714f /loader2/lang.h | |
parent | 48ad552b63a95aec286aba9cd91ec0a745152e95 (diff) | |
download | anaconda-32d18cdb5603ba71a27661cc59d78bfaf43a36cc.tar.gz anaconda-32d18cdb5603ba71a27661cc59d78bfaf43a36cc.tar.xz anaconda-32d18cdb5603ba71a27661cc59d78bfaf43a36cc.zip |
restructuring and clean up of some of the older unused code in the loader.
still a lot to do, but this gets to stage2 for cd, nfs, http, and ftp booting
from either the cd initrd or the pxe initrd
Diffstat (limited to 'loader2/lang.h')
-rw-r--r-- | loader2/lang.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/loader2/lang.h b/loader2/lang.h new file mode 100644 index 000000000..405f955f8 --- /dev/null +++ b/loader2/lang.h @@ -0,0 +1,18 @@ +#ifndef _LANG_H_ +#define _LANG_H_ + +#define _(x) translateString (x) +#define N_(foo) (foo) + +struct langInfo { + char * lang, * key, * font, * map, * lc_all, * keyboard; +} ; + + +int chooseLanguage(char ** lang, int flags); +char * translateString(char * str); +void setLanguage (char * key, int flags); +int getLangInfo(struct langInfo **langs, int flags); + + +#endif /* _LANG_H_ */ |