GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71924
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends 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

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

Function Documentation

int sqpAllocVal ( SQLPSTMT st,
int  n 
)

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

References SQLPSTMT::aVal, NULL, SQLPSTMT::nVal, SQLPVALUE::s, and SQLPSTMT::Val.

Referenced by sqpAssignment(), and sqpValue().

SQLPSTMT* sqpInitStmt ( void  )

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

References st.