summaryrefslogtreecommitdiffstats
path: root/ax25/axgetput/util.h
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2006-12-10 19:12:59 +0000
committerThomas Osterried <thomas@osterried.de>2006-12-10 19:12:59 +0000
commitacdb41fa04d40571ee4d84e2607515643d410671 (patch)
treeacf58efd52c6c8360d53f8e57795080089aa4e8f /ax25/axgetput/util.h
parenta824b0ba5e756660406a8a4648f60692a5cdce30 (diff)
axgetput (bget, bput, ..) for 8bit clean up/download from an
axspawn(8) login session. Initial checkin. Import from http://x-berg.in-berlin.de/cgi-bin/viewcvs.cgi/ampr/axgetput/
Diffstat (limited to 'ax25/axgetput/util.h')
-rw-r--r--ax25/axgetput/util.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/ax25/axgetput/util.h b/ax25/axgetput/util.h
new file mode 100644
index 0000000..f6d115d
--- /dev/null
+++ b/ax25/axgetput/util.h
@@ -0,0 +1,20 @@
+/* @(#) $Id: util.h,v 1.1 2006/12/10 19:12:59 dl9sau Exp $ */
+
+/*
+ * (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
+ * License: GPL. See http://www.fsf.org/
+ * Sources: http://x-berg.in-berlin.de/cgi-bin/viewcvs.cgi/ampr/axgetput/
+ */
+
+#ifndef UTIL_H
+#define UTIL_H
+
+extern char *strlwc(char *s);
+extern char *strtrim(char *s);
+extern int my_read(int fd, char *s, int len_max, int *eof, char *p_break);
+extern int secure_write(int fd, char *s, int len_write_left);
+extern char *get_fixed_filename(char *line, long size, unsigned int msg_crc, int generate_filename);
+extern long date_dos2unix(unsigned short time,unsigned short date);
+extern void date_unix2dos(int unix_date,unsigned short *time, unsigned short *date);
+
+#endif /* UTIL_H */