Subversion Repositories SvarDOS

Rev

Rev 430 | Rev 445 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 430 Rev 437
Line 32... Line 32...
32
int strstartswith(const char *s1, const char *s2);
32
int strstartswith(const char *s1, const char *s2);
33
 
33
 
34
/* outputs a NULL-terminated string to stdout */
34
/* outputs a NULL-terminated string to stdout */
35
void output_internal(const char *s, unsigned short nl);
35
void output_internal(const char *s, unsigned short nl);
36
 
36
 
-
 
37
/* outputs a NULL-terminated NLS string to stdout */
-
 
38
void nls_output_internal(unsigned short id, unsigned short nl);
-
 
39
 
37
#define output(x) output_internal(x, 0)
40
#define output(x) output_internal(x, 0)
38
#define outputnl(x) output_internal(x, 1)
41
#define outputnl(x) output_internal(x, 1)
-
 
42
#define nls_output(x,y) nls_output_internal((x << 8) | y, 0)
-
 
43
#define nls_outputnl(x,y) nls_output_internal((x << 8) | y, 1)
39
 
44
 
40
/*
45
/*
41
 * FileInfoRec (DTA) format:
46
 * FileInfoRec (DTA) format:
42
 * offset size desc
47
 * offset size desc
43
 *    +0   21  reserved
48
 *    +0   21  reserved
Line 165... Line 170...
165
 
170
 
166
/* computes a formatted integer number based on NLS patterns found in p
171
/* computes a formatted integer number based on NLS patterns found in p
167
 * returns length of result */
172
 * returns length of result */
168
unsigned short nls_format_number(char *s, unsigned long num, const struct nls_patterns *p);
173
unsigned short nls_format_number(char *s, unsigned long num, const struct nls_patterns *p);
169
 
174
 
-
 
175
/* reload nls ressources from svarcom.lng into langblock */
-
 
176
void nls_langreload(char *buff, unsigned short env);
-
 
177
 
170
#endif
178
#endif