s/qmail
3.3.23
Next generation secure email transport
sqmail-3.3.23
src
alloc_re.c
Go to the documentation of this file.
1
#include "
alloc.h
"
2
#include "
byte.h
"
3
4
int
alloc_re
(
char
**
x
,
unsigned
int
m
,
unsigned
int
n
)
5
{
6
char
*y;
7
8
y =
alloc
(n);
9
if
(!y)
return
0;
10
byte_copy
(y,m,*x);
11
alloc_free
(*x);
12
*x = y;
13
return
1;
14
}
alloc
char * alloc(unsigned int n)
Definition:
alloc.c:16
byte_copy
void byte_copy(char *, unsigned int, char *)
alloc_re
int alloc_re(char **x, unsigned int m, unsigned int n)
Definition:
alloc_re.c:4
m
struct message * m
byte.h
alloc.h
x
unsigned x
Definition:
matchup.c:36
n
unsigned n
Definition:
matchup.c:36
alloc_free
void alloc_free(char *x)
Definition:
alloc.c:26
Generated on Sat Jan 12 2019 23:42:27 for s/qmail by
1.8.13