src/inc/cheapcgi.h 1.67
1.67 2009/06/18 17:53:38 larrym
add cgiUserAgent
Index: src/inc/cheapcgi.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/cheapcgi.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -b -B -U 4 -r1.66 -r1.67
--- src/inc/cheapcgi.h 3 Jun 2009 00:34:10 -0000 1.66
+++ src/inc/cheapcgi.h 18 Jun 2009 17:53:38 -0000 1.67
@@ -67,8 +67,11 @@
char *cgiRemoteAddr();
/* Return IP address of client (or "unknown"). */
+char *cgiUserAgent();
+/* Return remote user agent (HTTP_USER_AGENT) or NULL if remote user agent is not known */
+
/* These routines abort the html output if the input isn't
* there or is misformatted. */
char *cgiString(char *varName);
int cgiInt(char *varName);