1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: Make ads_get_attrnames_by_oids static

This commit is contained in:
Volker Lendecke 2010-11-16 19:20:43 +01:00
parent 491fdb24e4
commit d14cf7a50b
2 changed files with 7 additions and 8 deletions

View File

@ -25,10 +25,13 @@
#ifdef HAVE_LDAP #ifdef HAVE_LDAP
ADS_STATUS ads_get_attrnames_by_oids(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, static ADS_STATUS ads_get_attrnames_by_oids(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
const char *schema_path, const char *schema_path,
const char **OIDs, size_t num_OIDs, const char **OIDs,
char ***OIDs_out, char ***names, size_t *count) size_t num_OIDs,
char ***OIDs_out, char ***names,
size_t *count)
{ {
ADS_STATUS status; ADS_STATUS status;
LDAPMessage *res = NULL; LDAPMessage *res = NULL;

View File

@ -46,10 +46,6 @@ enum wb_posix_mapping {
/* The following definitions come from libads/ldap_schema.c */ /* The following definitions come from libads/ldap_schema.c */
ADS_STATUS ads_get_attrnames_by_oids(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx,
const char *schema_path,
const char **OIDs, size_t num_OIDs,
char ***OIDs_out, char ***names, size_t *count);
const char *ads_get_attrname_by_guid(ADS_STRUCT *ads, const char *ads_get_attrname_by_guid(ADS_STRUCT *ads,
const char *schema_path, const char *schema_path,
TALLOC_CTX *mem_ctx, TALLOC_CTX *mem_ctx,