summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-26 21:48:41 +0200
committerGünther Deschner <gd@samba.org>2008-06-27 01:58:39 +0200
commit8b52e2bc63904824022bcd9c51e52209a905b914 (patch)
tree262712d837f4cb7969e1ad2a97d28106702de0e7 /source3/libnet/libnet_proto.h
parent120c09b125f656d6d03b979560f3ef6652217691 (diff)
downloadsamba-8b52e2bc63904824022bcd9c51e52209a905b914.tar.gz
samba-8b52e2bc63904824022bcd9c51e52209a905b914.tar.bz2
samba-8b52e2bc63904824022bcd9c51e52209a905b914.zip
net_vampire: separate keytab code from samsync code.
Guenther (This used to be commit 69d8442bf3248f97ad23def424901d7fa87bfe48)
Diffstat (limited to 'source3/libnet/libnet_proto.h')
-rw-r--r--source3/libnet/libnet_proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/libnet/libnet_proto.h b/source3/libnet/libnet_proto.h
index 720b52bcc7..ddd730b1a8 100644
--- a/source3/libnet/libnet_proto.h
+++ b/source3/libnet/libnet_proto.h
@@ -43,6 +43,15 @@ WERROR libnet_Unjoin(TALLOC_CTX *mem_ctx,
_PUBLIC_ void ndr_print_libnet_JoinCtx(struct ndr_print *ndr, const char *name, int flags, const struct libnet_JoinCtx *r);
_PUBLIC_ void ndr_print_libnet_UnjoinCtx(struct ndr_print *ndr, const char *name, int flags, const struct libnet_UnjoinCtx *r);
+/* The following definitions come from libnet/libnet_keytab.c */
+
+#ifdef HAVE_KRB5
+krb5_error_code libnet_keytab_init(TALLOC_CTX *mem_ctx,
+ const char *keytab_name,
+ struct libnet_keytab_context **ctx);
+krb5_error_code libnet_keytab_add(struct libnet_keytab_context *ctx);
+#endif
+
/* The following definitions come from libnet/libnet_samsync.c */
NTSTATUS libnet_samsync_init_context(TALLOC_CTX *mem_ctx,