list.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include "con.h"

Include dependency graph for list.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  list

Functions

void db_unixodbc_list_destroy (list *link)
 Destroy a list.
int db_unixodbc_list_insert (list **start, list **link, int n, strn *value)
 Create a list.


Function Documentation

void db_unixodbc_list_destroy ( list start  ) 

Destroy a list.

Parameters:
link list element(s)

Definition at line 149 of file list.c.

References list::data, list::lengths, list::next, pkg_free, and list::rownum.

Referenced by db_unixodbc_convert_rows(), and db_unixodbc_fetch_result().

int db_unixodbc_list_insert ( list **  start,
list **  link,
int  n,
strn value 
)

Create a list.

Parameters:
start start of the list
link inserted element
n number of values
value inserted value
Returns:
0 on success, -1 on failure

Definition at line 46 of file list.c.

References list::data, list::lengths, LM_ERR, list::next, NULL, pkg_free, pkg_malloc, list::rownum, strn::s, and s.

Referenced by db_unixodbc_convert_rows(), and db_unixodbc_fetch_result().


Generated on Wed May 23 18:00:41 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6