mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4-kdc: Move kdc_process_fn_t declaration to kdc-server.h
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
13661b6fb0
commit
f110662310
@ -71,14 +71,6 @@ static NTSTATUS kdc_proxy_unavailable_error(struct kdc_server *kdc,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
typedef kdc_code (*kdc_process_fn_t)(struct kdc_server *kdc,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
DATA_BLOB *input,
|
||||
DATA_BLOB *reply,
|
||||
struct tsocket_address *peer_addr,
|
||||
struct tsocket_address *my_addr,
|
||||
int datagram);
|
||||
|
||||
/* hold information about one kdc socket */
|
||||
struct kdc_socket {
|
||||
struct kdc_server *kdc;
|
||||
|
@ -47,4 +47,12 @@ typedef enum kdc_code_e {
|
||||
KDC_PROXY_REQUEST
|
||||
} kdc_code;
|
||||
|
||||
typedef kdc_code (*kdc_process_fn_t)(struct kdc_server *kdc,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
DATA_BLOB *request,
|
||||
DATA_BLOB *reply,
|
||||
struct tsocket_address *remote_address,
|
||||
struct tsocket_address *local_address,
|
||||
int datagram);
|
||||
|
||||
#endif /* _KDC_SERVER_H */
|
||||
|
Loading…
Reference in New Issue
Block a user