FreeSWITCH API Documentation  1.7.0
Data Fields
switch_directory_interface Struct Reference

Abstract interface to a directory module. More...

#include <switch_module_interfaces.h>

+ Collaboration diagram for switch_directory_interface:

Data Fields

const char * interface_name
 
switch_status_t(* directory_open )(switch_directory_handle_t *dh, char *source, char *dsn, char *passwd)
 
switch_status_t(* directory_close )(switch_directory_handle_t *dh)
 
switch_status_t(* directory_query )(switch_directory_handle_t *dh, char *base, char *query)
 
switch_status_t(* directory_next )(switch_directory_handle_t *dh)
 
switch_status_t(* directory_next_pair )(switch_directory_handle_t *dh, char **var, char **val)
 
switch_thread_rwlock_trwlock
 
int refs
 
switch_mutex_treflock
 
switch_loadable_module_interface_tparent
 
struct switch_directory_interfacenext
 

Detailed Description

Abstract interface to a directory module.

Definition at line 600 of file switch_module_interfaces.h.

Field Documentation

switch_status_t(* switch_directory_interface::directory_close)(switch_directory_handle_t *dh)

function to close the directory interface

Definition at line 606 of file switch_module_interfaces.h.

switch_status_t(* switch_directory_interface::directory_next)(switch_directory_handle_t *dh)

function to advance to the next record

Definition at line 610 of file switch_module_interfaces.h.

switch_status_t(* switch_directory_interface::directory_next_pair)(switch_directory_handle_t *dh, char **var, char **val)

function to advance to the next name/value pair in the current record

Definition at line 612 of file switch_module_interfaces.h.

switch_status_t(* switch_directory_interface::directory_open)(switch_directory_handle_t *dh, char *source, char *dsn, char *passwd)

function to open the directory interface

Definition at line 604 of file switch_module_interfaces.h.

switch_status_t(* switch_directory_interface::directory_query)(switch_directory_handle_t *dh, char *base, char *query)

function to query the directory interface

Definition at line 608 of file switch_module_interfaces.h.

const char* switch_directory_interface::interface_name

the name of the interface

Definition at line 602 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().

struct switch_directory_interface* switch_directory_interface::next
switch_loadable_module_interface_t* switch_directory_interface::parent

Definition at line 616 of file switch_module_interfaces.h.

switch_mutex_t* switch_directory_interface::reflock

Definition at line 615 of file switch_module_interfaces.h.

int switch_directory_interface::refs

Definition at line 614 of file switch_module_interfaces.h.

switch_thread_rwlock_t* switch_directory_interface::rwlock

Definition at line 613 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_unprocess().


The documentation for this struct was generated from the following file: