summaryrefslogtreecommitdiff
path: root/axcalluser.h
diff options
context:
space:
mode:
Diffstat (limited to 'axcalluser.h')
-rw-r--r--axcalluser.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/axcalluser.h b/axcalluser.h
new file mode 100644
index 0000000..f802c30
--- /dev/null
+++ b/axcalluser.h
@@ -0,0 +1,16 @@
+#ifndef AXCALLUSER_H
+#define AXCALLUSER_H
+
+/* Simple functions to return userid of a callsign, and */
+/* username of a userid, by reading appropriate files. */
+/* Surely there's a better way to do 'getusername', but */
+/* this works. */
+/* Dave Brown N2RJT 5/5/96 */
+
+/* return userid of given callsign, or -1 if not found */
+int axcalluserid(char *callsign);
+
+/* return username of given userid, or NULL if not found */
+char *getusername(int userid);
+
+#endif