Asterisk - The Open Source Telephony Project
GIT-master-8924258
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
codecs
gsm
src
gsm_create.c
Go to the documentation of this file.
1
/*
2
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
3
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
4
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
5
*/
6
7
#include "
config.h
"
8
9
#ifdef HAS_STRING_H
10
#include <string.h>
11
#else
12
# include "
proto.h
"
13
extern
char
* memset
P
((
char
*,
int
,
int
));
14
#endif
15
16
#ifdef HAS_STDLIB_H
17
# include <stdlib.h>
18
#else
19
# ifdef HAS_MALLOC_H
20
# include <malloc.h>
21
# else
22
extern
char
*
malloc
();
23
# endif
24
#endif
25
26
#include <stdio.h>
27
28
#include "
gsm.h
"
29
#include "private.h"
30
#include "
proto.h
"
31
32
gsm
gsm_create
P0
()
33
{
34
gsm
r;
35
36
r = (
gsm
)
malloc
(
sizeof
(
struct
gsm_state
));
37
if
(!r)
return
r;
38
39
memset((
char
*)r, 0,
sizeof
(*r));
40
r->
nrp
= 40;
41
42
return
r;
43
}
gsm.h
gsm
struct gsm_state * gsm
Definition:
gsm.h:39
P
char *memset P((char *, int, int))
P0
gsm gsm_create P0()
Definition:
gsm_create.c:32
malloc
char * malloc()
config.h
Configuration File Parser.
proto.h
gsm_state
Definition:
codecs/gsm/inc/private.h:18
gsm_state::nrp
word nrp
Definition:
codecs/gsm/inc/private.h:31
Generated on Wed Apr 23 2025 20:04:23 for Asterisk - The Open Source Telephony Project by
1.9.4