aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2001-12-06 21:42:03 +0000
committerDavid Shaw <[email protected]>2001-12-06 21:42:03 +0000
commit4b01e2a943de83cd1b44f1d5f971ab8b7c97fb7d (patch)
treeded230da3304c1db047269a42902ec87afba5da1
parentKeyserver "helper" app code (diff)
downloadgnupg-4b01e2a943de83cd1b44f1d5f971ab8b7c97fb7d.tar.gz
gnupg-4b01e2a943de83cd1b44f1d5f971ab8b7c97fb7d.zip
keyserver API definitions
-rw-r--r--include/distfiles1
-rw-r--r--include/keyserver.h30
2 files changed, 31 insertions, 0 deletions
diff --git a/include/distfiles b/include/distfiles
index cdbfde2b0..fe9c41c7f 100644
--- a/include/distfiles
+++ b/include/distfiles
@@ -9,5 +9,6 @@ util.h
i18n.h
host2net.h
http.h
+keyserver.h
ChangeLog
diff --git a/include/keyserver.h b/include/keyserver.h
new file mode 100644
index 000000000..92dac39d4
--- /dev/null
+++ b/include/keyserver.h
@@ -0,0 +1,30 @@
+/* keyserver.h
+ * Copyright (C) 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GNUPG.
+ *
+ * GNUPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNUPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
+#ifndef _KEYSERVER_H_
+#define _KEYSERVER_H_
+
+/* Return codes */
+#define KEYSERVER_OK 0
+#define KEYSERVER_SCHEME_NOT_FOUND 1
+#define KEYSERVER_INTERNAL_ERROR 2
+#define KEYSERVER_VERSION_ERROR 3
+
+#endif /* !_KEYSERVER_H_ */