diff options
Diffstat (limited to 'source4/kdc/kdc.h')
-rw-r--r-- | source4/kdc/kdc.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/source4/kdc/kdc.h b/source4/kdc/kdc.h new file mode 100644 index 0000000000..25b8745bce --- /dev/null +++ b/source4/kdc/kdc.h @@ -0,0 +1,48 @@ +/* + Unix SMB/CIFS implementation. + + KDC structures + + Copyright (C) Andrew Tridgell 2005 + Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005 + + This program 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. + + This program 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., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#include "system/kerberos.h" +#include <kdc.h> + + +/* + top level context structure for the cldap server +*/ +struct kdc_server { + struct task_server *task; + struct krb5_kdc_configuration *config; +}; + +struct kdc_socket { + struct socket_context *sock; + struct event_context *event_ctx; + + struct kdc_server *kdc; + + /* the fd event */ + struct fd_event *fde; + + /* a queue of outgoing replies */ + struct kdc_reply *send_queue; + +}; |