Debian Codegraph @

ax25/axgetput/util.h

raw
1 /*
2 * (c) 2002 Thomas Osterried DL9SAU <[email protected]>
3 * License: GPL. See http://www.fsf.org/
4 * Sources: http://x-berg.in-berlin.de/cgi-bin/viewcvs.cgi/ampr/axgetput/
5 */
6
7 #ifndef UTIL_H
8 #define UTIL_H
9
10 extern char *strlwc(char *s);
11 extern char *strtrim(char *s);
12 extern int my_read(int fd, char *s, int len_max, int *eof, char *p_break);
13 extern int secure_write(int fd, char *s, int len_write_left);
14 extern char *get_fixed_filename(char *line, long size, unsigned int msg_crc, int generate_filename);
15 extern long date_dos2unix(unsigned short time,unsigned short date);
16 extern void date_unix2dos(int unix_date,unsigned short *time, unsigned short *date);
17
18 #endif /* UTIL_H */