8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libnisdb / nis_parse_ldap_util.h
blob10794bf0088719d4e40d8b8722996694477534ab
1 /*
2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
5 * 1.0 of the CDDL.
7 * A full copy of the text of the CDDL should have accompanied this
8 * source. A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
13 * Copyright 2015 Gary Mills
16 #ifndef _NIS_PARSE_LDAP_UTIL_H
17 #define _NIS_PARSE_LDAP_UTIL_H
20 * Functions defined in nis_parse_ldap_util.c needed elsewhere
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
27 extern void *s_malloc(size_t);
28 extern bool_t add_column(__nis_table_mapping_t *, const char *);
29 extern bool_t dup_index(__nis_index_t *, __nis_index_t *);
30 extern bool_t dup_mapping_element(__nis_mapping_element_t *,
31 __nis_mapping_element_t *);
32 extern bool_t make_fqdn(__nis_object_dn_t *, const char *);
33 extern bool_t make_full_dn(char **, const char *);
34 extern void append_dot(char **);
35 extern void append_comma(char **);
36 extern __nis_mapping_rule_t **dup_mapping_rules(__nis_mapping_rule_t **,
37 int n_rules);
38 extern __nis_mapping_rule_t *dup_mapping_rule(__nis_mapping_rule_t *);
40 #ifdef __cplusplus
42 #endif
44 #endif /* _NIS_PARSE_LDAP_UTIL_H */