Renamed main-auth.h.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-15 11:39:02 +02:00
parent e7171ac859
commit 68c4b2371b
7 changed files with 5 additions and 23 deletions

View File

@@ -24,7 +24,7 @@
#include <syslog.h>
#include <vpn.h>
#include "pam.h"
#include <main-auth.h>
#include <sec-mod-auth.h>
#ifdef HAVE_PAM

View File

@@ -21,7 +21,7 @@
#ifndef PAM_H
#define PAM_H
#include <main-auth.h>
#include <sec-mod-auth.h>
extern const struct auth_mod_st pam_auth_funcs;

View File

@@ -21,7 +21,7 @@
#ifndef PLAIN_H
#define PLAIN_H
#include <main-auth.h>
#include <sec-mod-auth.h>
extern const struct auth_mod_st plain_auth_funcs;

View File

@@ -42,7 +42,6 @@
#include <tun.h>
#include <main.h>
#include <ccan/list/list.h>
#include <main-auth.h>
#include <common.h>
int send_cookie_auth_reply(main_server_st* s, struct proc_st* proc,

View File

@@ -52,7 +52,6 @@
#include <main-sup-config.h>
#include <main-ctl.h>
#include <route-add.h>
#include <main-auth.h>
#include <worker.h>
#include <cookies.h>
#include <tun.h>

View File

@@ -42,7 +42,7 @@
#include <tun.h>
#include <main.h>
#include <ccan/list/list.h>
#include <main-auth.h>
#include <sec-mod-auth.h>
#include <auth/plain.h>
#include <common.h>
#include <auth/pam.h>

View File

@@ -38,22 +38,6 @@ struct auth_mod_st {
void main_auth_init(main_server_st *s);
void proc_auth_deinit(main_server_st* s, struct proc_st* proc);
/* Authentication with the worker thread works as follows:
* main worker
* <---- auth_init (username)
* auth_msg ---->
* <---- auth_req (password)
*
* [the last two messages may be repeated multiple times,
* e.g. when in two-factor authentication]
*
* The receipt of auth_init message results to auth_init()
* being called, auth_msg to auth_msg() and auth_req to auth_pass().
*
* The auth_msg() may contain the message to be printed at
* the password entry field.
*
* auth_group() is called sometime after auth_init() to retrieve
* the group of the user.
/* The authentication with the worker thread is shown in ipc.proto.
*/
#endif