diff --git a/authd/Makefile.am b/authd/Makefile.am index ce7fb4bf..b394aacf 100644 --- a/authd/Makefile.am +++ b/authd/Makefile.am @@ -3,5 +3,5 @@ AM_CFLAGS=$(WARNFLAGS) AM_CPPFLAGS = -I../include -I../librb/include -authd_SOURCES = auth.c authd.c res.c reslib.c dns.c +authd_SOURCES = provider.c authd.c res.c reslib.c dns.c authd_LDADD = ../librb/src/librb.la diff --git a/authd/auth.c b/authd/provider.c similarity index 98% rename from authd/auth.c rename to authd/provider.c index fe7cb9ee..a36fc0c4 100644 --- a/authd/auth.c +++ b/authd/provider.c @@ -1,4 +1,4 @@ -/* authd/auth.c - authentication provider framework +/* authd/provider.c - authentication provider framework * Copyright (c) 2016 Elizabeth Myers * * Permission to use, copy, modify, and/or distribute this software for any @@ -43,7 +43,7 @@ */ #include "authd.h" -#include "auth.h" +#include "provider.h" rb_dlink_list auth_providers; diff --git a/authd/auth.h b/authd/provider.h similarity index 95% rename from authd/auth.h rename to authd/provider.h index c5a481f2..87a859d9 100644 --- a/authd/auth.h +++ b/authd/provider.h @@ -1,4 +1,4 @@ -/* authd/auth.h - authentication provider framework +/* authd/provider.h - authentication provider framework * Copyright (c) 2016 Elizabeth Myers * * Permission to use, copy, modify, and/or distribute this software for any @@ -18,8 +18,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __CHARYBDIS_AUTHD_AUTH_H__ -#define __CHARYBDIS_AUTHD_AUTH_H__ +#ifndef __CHARYBDIS_AUTHD_PROVIDER_H__ +#define __CHARYBDIS_AUTHD_PROVIDER_H__ #include "stdinc.h" @@ -103,4 +103,4 @@ static inline bool is_provider(struct auth_client *auth, provider_t provider) return auth->providers & provider; } -#endif /* __CHARYBDIS_AUTHD_AUTH_H__ */ +#endif /* __CHARYBDIS_AUTHD_PROVIDER_H__ */