GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
db/sqlp/alloc.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <grass/sqlp.h>
Include dependency graph for db/sqlp/alloc.c:

Go to the source code of this file.

Functions

SQLPSTMT * sqpInitStmt (void)
 
int sqpAllocCol (SQLPSTMT *st, int n)
 
int sqpAllocVal (SQLPSTMT *st, int n)
 
int sqpFreeStmt (SQLPSTMT *st)
 

Function Documentation

int sqpAllocCol ( SQLPSTMT *  st,
int  n 
)

Definition at line 37 of file db/sqlp/alloc.c.

References n, and NULL.

Referenced by sqpAssignment(), sqpColumn(), sqpColumnDef(), and sqpValue().

int sqpAllocVal ( SQLPSTMT *  st,
int  n 
)

Definition at line 58 of file db/sqlp/alloc.c.

References n, and NULL.

Referenced by sqpAssignment(), and sqpValue().

int sqpFreeStmt ( SQLPSTMT *  st)

Definition at line 76 of file db/sqlp/alloc.c.

References free(), and sqpFreeNode().

SQLPSTMT* sqpInitStmt ( void  )

Definition at line 27 of file db/sqlp/alloc.c.