summaryrefslogtreecommitdiff
path: root/utils/useragent.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2007-06-10 17:46:44 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2007-06-10 17:46:44 +0000
commit1dd7e97eb3f2cd317ef64fa9c054aacba6499215 (patch)
tree3214739cb7769964e7def41eba60f938fd106a4b /utils/useragent.h
parentccc270eea1acaf9a9eb7e0c3a6f289c9c844d129 (diff)
downloadnetsurf-1dd7e97eb3f2cd317ef64fa9c054aacba6499215.tar.gz
netsurf-1dd7e97eb3f2cd317ef64fa9c054aacba6499215.tar.bz2
Merge scheme switcher branch in.
svn path=/trunk/netsurf/; revision=3330
Diffstat (limited to 'utils/useragent.h')
-rw-r--r--utils/useragent.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/useragent.h b/utils/useragent.h
new file mode 100644
index 000000000..2cfa8b0c0
--- /dev/null
+++ b/utils/useragent.h
@@ -0,0 +1,19 @@
+/*
+ * This file is part of NetSurf, http://netsurf-browser.org/
+ * Licensed under the GNU General Public License,
+ * http://www.opensource.org/licenses/gpl-license
+ * Copyright 2007 Daniel Silverstone <dsilvers@digital-scurf.org>
+ * Copyright 2007 Rob Kendrick <rjek@netsurf-browser.org>
+ */
+
+#ifndef _NETSURF_UTILS_USERAGENT_H_
+#define _NETSURF_UTILS_USERAGENT_H_
+
+/** Retrieve the core user agent for this release.
+ *
+ * The string returned can be relied upon to exist for the duration of
+ * the execution of the program. There is no need to copy it.
+ */
+const char * user_agent_string(void);
+
+#endif