RTS API Documentation  1.10.11
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 586 of file switch_module_interfaces.h.

Field Documentation

◆ directory_close

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

function to close the directory interface

Definition at line 592 of file switch_module_interfaces.h.

Referenced by switch_core_directory_close().

◆ directory_next

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

function to advance to the next record

Definition at line 596 of file switch_module_interfaces.h.

Referenced by switch_core_directory_next().

◆ directory_next_pair

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 598 of file switch_module_interfaces.h.

Referenced by switch_core_directory_next_pair().

◆ directory_open

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 590 of file switch_module_interfaces.h.

Referenced by switch_core_directory_open().

◆ directory_query

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 594 of file switch_module_interfaces.h.

Referenced by switch_core_directory_query().

◆ interface_name

const char* switch_directory_interface::interface_name

the name of the interface

Definition at line 588 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_process(), and switch_loadable_module_unprocess().

◆ next

struct switch_directory_interface* switch_directory_interface::next

◆ parent

switch_loadable_module_interface_t* switch_directory_interface::parent

Definition at line 602 of file switch_module_interfaces.h.

◆ reflock

switch_mutex_t* switch_directory_interface::reflock

Definition at line 601 of file switch_module_interfaces.h.

◆ refs

int switch_directory_interface::refs

Definition at line 600 of file switch_module_interfaces.h.

◆ rwlock

switch_thread_rwlock_t* switch_directory_interface::rwlock

Definition at line 599 of file switch_module_interfaces.h.

Referenced by switch_loadable_module_unprocess().


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