GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ sqpAllocCol()

int sqpAllocCol ( SQLPSTMT st,
int  n 
)

◆ sqpAllocVal()

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.

◆ sqpFreeStmt()

◆ sqpInitStmt()

SQLPSTMT* sqpInitStmt ( void  )

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

References st.