summaryrefslogtreecommitdiff
path: root/nslcd/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/common.h')
-rw-r--r--nslcd/common.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index ac0fb71..9d9a29e 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -83,24 +83,6 @@ MUST_USE const char *getfqdn(void);
const char *get_userpassword(MYLDAP_ENTRY *entry, const char *attr,
char *buffer, size_t buflen);
-/* write out an address, parsing the addr value */
-int write_address(TFILE *fp, MYLDAP_ENTRY *entry, const char *attr,
- const char *addr);
-
-/* a helper macro to write out addresses and bail out on errors */
-#define WRITE_ADDRESS(fp, entry, attr, addr) \
- if (write_address(fp, entry, attr, addr)) \
- return -1;
-
-/* read an address from the stream */
-int read_address(TFILE *fp, char *addr, int *addrlen, int *af);
-
-/* helper macro to read an address from the stream */
-#define READ_ADDRESS(fp, addr, len, af) \
- len = (int)sizeof(addr); \
- if (read_address(fp, addr, &(len), &(af))) \
- return -1;
-
/* convert the provided string representation of a sid
(e.g. S-1-5-21-1936905831-823966427-12391542-23578)
to a format that can be used to search the objectSid property with */