switch_directory_interface Struct Reference

Abstract interface to a directory module. More...

#include <switch_module_interfaces.h>

Collaboration diagram for switch_directory_interface:

[legend]

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
switch_directory_interfacenext

Detailed Description

Abstract interface to a directory module.

Definition at line 533 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

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

function to advance to the next record

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

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

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

function to query the directory interface

const char* switch_directory_interface::interface_name

the name of the interface

Definition at line 535 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

Definition at line 550 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().

switch_loadable_module_interface_t* switch_directory_interface::parent

Definition at line 549 of file switch_module_interfaces.h.

switch_mutex_t* switch_directory_interface::reflock

Definition at line 548 of file switch_module_interfaces.h.

int switch_directory_interface::refs

Definition at line 547 of file switch_module_interfaces.h.

switch_thread_rwlock_t* switch_directory_interface::rwlock

Definition at line 546 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_unprocess().


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:28 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7