summaryrefslogtreecommitdiff
path: root/nslcd/common.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-29 02:20:13 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-29 02:20:13 -0500
commitdba5f85e8f1943863b4cbab1ab52913c62365ce1 (patch)
tree08c1745b2c12b5f20b7f907e008026d952707293 /nslcd/common.h
parent8acfce5c8916bb98768e3e351b7614b4eaf5954a (diff)
fix errors: the only erroring files left are db_pam.c and nslcd.c
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 */