summaryrefslogtreecommitdiffstats
path: root/common/dns-cert.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-06-16 13:49:27 +0200
committerWerner Koch <wk@gnupg.org>2006-06-16 13:49:27 +0200
commitff523906988b9eb4eea3ab3857afe29552c53716 (patch)
tree8a28b2d9d3a2e460b1b754812aad556f332a2bb3 /common/dns-cert.h
parent2006-06-09 Marcus Brinkmann <marcus@g10code.de> (diff)
downloadgnupg2-ff523906988b9eb4eea3ab3857afe29552c53716.tar.xz
gnupg2-ff523906988b9eb4eea3ab3857afe29552c53716.zip
Added missing files
Diffstat (limited to 'common/dns-cert.h')
-rw-r--r--common/dns-cert.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/common/dns-cert.h b/common/dns-cert.h
new file mode 100644
index 000000000..47e0d5a2d
--- /dev/null
+++ b/common/dns-cert.h
@@ -0,0 +1,28 @@
+/* dns-cert.h - DNS CERT definition
+ * Copyright (C) 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ * USA.
+ */
+#ifndef GNUPG_COMMON_DNS_CERT_H
+#define GNUPG_COMMON_DNS_CERT_H
+
+int get_dns_cert (const char *name, size_t max_size, IOBUF *iobuf,
+ unsigned char **fpr, size_t *fpr_len, char **url);
+
+
+#endif /*GNUPG_COMMON_DNS_CERT_H*/