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

char* malloc (  ) 

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

gsm gsm_create P0 (  ) 

Definition at line 32 of file gsm_create.c.

References malloc.

00033 {
00034    gsm  r;
00035 
00036    r = (gsm)malloc(sizeof(struct gsm_state));
00037    if (!r) return r;
00038 
00039    memset((char *)r, 0, sizeof(*r));
00040    r->nrp = 40;
00041 
00042    return r;
00043 }


Generated on Thu Apr 16 06:31:30 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6