summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-25 05:32:30 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-25 05:32:30 +0100
commitc9d193eb08b036c5196d63c22790f3cd3583ba82 (patch)
treeaf72dfb14061c8c82fee55b3f10a936d9547232f /source4
parent1fcd85e8b9235301c7bc6c4c0878e73ddcbd4b16 (diff)
downloadsamba-c9d193eb08b036c5196d63c22790f3cd3583ba82.tar.gz
samba-c9d193eb08b036c5196d63c22790f3cd3583ba82.tar.bz2
samba-c9d193eb08b036c5196d63c22790f3cd3583ba82.zip
Add prototypes required by samba-gtk.
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/credentials/credentials.h9
-rw-r--r--source4/librpc/rpc/dcerpc.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h
index a4fe3f2c30..3c2fb8f2e6 100644
--- a/source4/auth/credentials/credentials.h
+++ b/source4/auth/credentials/credentials.h
@@ -186,8 +186,17 @@ void cli_credentials_set_kerberos_state(struct cli_credentials *creds,
bool cli_credentials_set_domain(struct cli_credentials *cred,
const char *val,
enum credentials_obtained obtained);
+bool cli_credentials_set_domain_callback(struct cli_credentials *cred,
+ const char *(*domain_cb) (struct cli_credentials *));
bool cli_credentials_set_username(struct cli_credentials *cred,
const char *val, enum credentials_obtained obtained);
+bool cli_credentials_set_username_callback(struct cli_credentials *cred,
+ const char *(*username_cb) (struct cli_credentials *));
+bool cli_credentials_set_principal(struct cli_credentials *cred,
+ const char *val,
+ enum credentials_obtained obtained);
+bool cli_credentials_set_principal_callback(struct cli_credentials *cred,
+ const char *(*principal_cb) (struct cli_credentials *));
bool cli_credentials_set_password(struct cli_credentials *cred,
const char *val,
enum credentials_obtained obtained);
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index b2e3a8ce69..d6619ace07 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -385,4 +385,6 @@ typedef NTSTATUS (*dcerpc_call_fn) (struct dcerpc_pipe *, TALLOC_CTX *, void *);
enum dcerpc_transport_t dcerpc_transport_by_endpoint_protocol(int prot);
+const char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor);
+
#endif /* __DCERPC_H__ */