summaryrefslogtreecommitdiff
path: root/xauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'xauth.h')
-rw-r--r--xauth.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/xauth.h b/xauth.h
index d43cc56..33a6c4e 100644
--- a/xauth.h
+++ b/xauth.h
@@ -26,6 +26,7 @@ in this Software without prior written authorization from The Open Group.
* *
* Author: Jim Fulton, MIT X Consortium
*/
+/* $XFree86: xc/programs/xauth/xauth.h,v 1.6 2001/12/14 20:01:15 dawes Exp $ */
#include <stdio.h>
#include <X11/Xos.h>
@@ -40,15 +41,18 @@ typedef int Bool;
extern char *ProgramName;
-#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
-#else
-extern char *malloc(), *realloc();
-#endif
-extern char *copystring();
-int process_command(), auth_initialize(), auth_finalize();
-extern int print_help();
+extern char *get_hostname ( Xauth *auth );
+extern char *get_address_info ( int family, char *fulldpyname, int prefix, char *host, int *lenp );
+extern char *copystring ( char *src, int len );
+extern char *get_local_hostname ( char *buf, int maxlen );
+extern Bool parse_displayname ( char *displayname, int *familyp, char **hostp, int *dpynump, int *scrnump, char **restp );
+extern int auth_initialize ( char *authfilename );
+extern int auth_finalize ( void );
+extern int process_command ( char *inputfilename, int lineno, int argc, char **argv );
+extern int dump_numeric ( FILE *fp, Xauth *auth );
+extern int print_help ( FILE *fp, char *cmd, char *prefix );
extern int verbose;
extern Bool ignore_locks;
extern Bool break_locks;