From 3bc256b482e7ce59386264737e05c529d2f5df35 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Tue, 6 Feb 2018 18:09:16 +0100 Subject: test: make 'struct user' opaque avoid conflict with struct user defined in --- test/sip/sipsrv.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/sip/sipsrv.h') diff --git a/test/sip/sipsrv.h b/test/sip/sipsrv.h index a4b8bbf..1f1076c 100644 --- a/test/sip/sipsrv.h +++ b/test/sip/sipsrv.h @@ -111,12 +111,9 @@ void location_rollback(struct list *locl); * User */ -struct user { - struct le he; - uint8_t ha1[MD5_SIZE]; - char *name; -}; +struct user; int user_add(struct hash *ht, const char *username, const char *password, const char *realm); struct user *user_find(struct hash *ht, const struct pl *name); +const uint8_t *user_ha1(const struct user *usr); -- cgit v1.2.3