Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
f57148ba
...
f57148ba139b4d20c68a6d47471ce8eb5ff9f02e
authored
2002-08-13 14:50:41 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
All functions made static.
1 parent
77a8e657
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
auth/system.c
auth/virtual.c
auth/system.c
View file @
f57148b
...
...
@@ -41,7 +41,7 @@
#include <mailutils/mu_auth.h>
/* System database */
int
static
int
mu_auth_system
(
void
*
return_data
,
struct
passwd
*
pw
)
{
char
*
mailbox_name
;
...
...
@@ -83,7 +83,7 @@ mu_auth_system_by_name (void *return_data, void *key,
return
mu_auth_system
(
return_data
,
getpwnam
(
key
));
}
int
static
int
mu_auth_system_by_uid
(
void
*
return_data
,
void
*
key
,
void
*
unused_func_data
,
void
*
unused_call_data
)
{
...
...
@@ -95,7 +95,7 @@ mu_auth_system_by_uid (void *return_data, void *key,
return
mu_auth_system
(
return_data
,
getpwuid
(
*
(
uid_t
*
)
key
));
}
int
static
int
mu_authenticate_generic
(
void
*
ignored_return_data
,
void
*
key
,
void
*
ignored_func_data
,
...
...
@@ -110,7 +110,7 @@ mu_authenticate_generic (void *ignored_return_data,
}
/* Called only if generic fails */
int
static
int
mu_authenticate_system
(
void
*
ignored_return_data
,
void
*
key
,
void
*
ignored_func_data
,
...
...
auth/virtual.c
View file @
f57148b
...
...
@@ -47,7 +47,7 @@
#include <mailutils/mu_auth.h>
#ifdef USE_VIRTUAL_DOMAINS
struct
passwd
*
st
atic
st
ruct
passwd
*
getpwnam_virtual
(
char
*
u
)
{
struct
passwd
*
pw
=
NULL
;
...
...
@@ -85,7 +85,7 @@ getpwnam_virtual (char *u)
return
pw
;
}
struct
passwd
*
st
atic
st
ruct
passwd
*
getpwnam_ip_virtual
(
const
char
*
u
)
{
struct
sockaddr_in
addr
;
...
...
@@ -128,7 +128,7 @@ getpwnam_ip_virtual (const char *u)
}
/* Virtual domains */
int
static
int
mu_auth_virt_domain_by_name
(
void
*
return_data
,
void
*
key
,
void
*
unused_func_data
,
void
*
unused_call_data
)
{
...
...
@@ -167,7 +167,7 @@ mu_auth_virt_domain_by_name (void *return_data, void *key,
return
rc
;
}
#else
int
static
int
mu_auth_virt_domain_by_name
(
void
*
return_data
,
void
*
key
,
void
*
unused_func_data
,
void
*
unused_call_data
)
{
...
...
Please
register
or
sign in
to post a comment