Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions
gsm_create.c File Reference
#include "config.h"
#include "proto.h"
#include <stdio.h>
#include "gsm.h"
#include "private.h"
Include dependency graph for gsm_create.c:

Go to the source code of this file.

Functions

char * malloc ()
 
char *memset P ((char *, int, int))
 
gsm gsm_create P0 ()
 

Function Documentation

◆ malloc()

char * malloc ( )

◆ P()

char *memset P ( (char *, int, int)  )

◆ P0()

gsm gsm_create P0 ( )

Definition at line 32 of file gsm_create.c.

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}
struct gsm_state * gsm
Definition: gsm.h:39
char * malloc()

References malloc(), and gsm_state::nrp.