Asterisk - The Open Source Telephony Project  18.5.0
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.

References malloc().

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