summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/libhtdigphp/htdigphp.h
diff options
context:
space:
mode:
Diffstat (limited to 'debian/htdig/htdig-3.2.0b6/libhtdigphp/htdigphp.h')
-rw-r--r--debian/htdig/htdig-3.2.0b6/libhtdigphp/htdigphp.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/debian/htdig/htdig-3.2.0b6/libhtdigphp/htdigphp.h b/debian/htdig/htdig-3.2.0b6/libhtdigphp/htdigphp.h
new file mode 100644
index 00000000..4241af1e
--- /dev/null
+++ b/debian/htdig/htdig-3.2.0b6/libhtdigphp/htdigphp.h
@@ -0,0 +1,62 @@
+// -------------------------------------------------
+// libhtdigphp.h
+//
+// Header File for libhtdig PHP 4.0 wrapper.
+//
+// Requires libhtdig 3.2.0 or better
+//
+// Part of the ht://Dig package <http://www.htdig.org/>
+// <http://www.gnu.org/copyleft/gpl.html>
+//
+// Copyright (c) 1995-2002 The ht://Dig Group
+// Copyright (c) 2002 Rightnow Technologies, Inc.
+//
+// Dual Licensed under GPL & LGPL
+// See GPL and LGPL files for License.
+//
+// Copies available at
+// http://www.fsf.org/licenses/gpl.html
+// http://www.fsf.org/licenses/lgpl.html
+//
+// --------------------------------------------------
+
+/* $Id: htdigphp.h,v 1.1 2004/03/20 01:31:21 nealr Exp $ */
+
+#ifndef HTDIGPHP_H
+#define HTDIGPHP_H
+
+//#if HAVE_HTDIG
+
+
+#ifdef PHP_WIN32
+#define PHP_HTDIG_API __declspec(dllexport)
+#else
+#define PHP_HTDIG_API
+#endif
+
+
+PHP_MINIT_FUNCTION(htdig);
+PHP_MINFO_FUNCTION(htdig);
+
+PHP_FUNCTION(htsearch_open);
+PHP_FUNCTION(htsearch_query);
+PHP_FUNCTION(htsearch_get_nth_match);
+PHP_FUNCTION(htsearch_close);
+PHP_FUNCTION(htsearch_get_error);
+PHP_FUNCTION(htdig_index_test_url);
+
+
+//#define DEFAULT_TIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n"
+#define DEFAULT_TIME_FORMAT "%Y-%m-%d"
+
+#define TIME_FORMAT_SIZE 256
+
+#endif
+
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ */