rename auth.[ch] to provider.[ch]
This name is less confusing and more descriptive.
This commit is contained in:
parent
99e538670d
commit
0f95a2749f
3 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* authd/auth.c - authentication provider framework
|
||||
/* authd/provider.c - authentication provider framework
|
||||
* Copyright (c) 2016 Elizabeth Myers <elizabeth@interlinked.me>
|
||||
*
|
||||
* 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;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* authd/auth.h - authentication provider framework
|
||||
/* authd/provider.h - authentication provider framework
|
||||
* Copyright (c) 2016 Elizabeth Myers <elizabeth@interlinked.me>
|
||||
*
|
||||
* 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__ */
|
Loading…
Reference in a new issue