The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Macros | Functions
state.c File Reference
#include <freeradius-devel/ldap/base.h>
+ Include dependency graph for state.c:

Go to the source code of this file.

Macros

#define STATE_TRANSITION(_new)
 

Functions

void fr_ldap_state_error (fr_ldap_connection_t *c)
 Signal that there's been an error on the connection. More...
 
fr_ldap_state_t fr_ldap_state_next (fr_ldap_connection_t *c)
 Move between LDAP connection states. More...
 

Macro Definition Documentation

◆ STATE_TRANSITION

#define STATE_TRANSITION (   _new)
Value:
do { \
DEBUG4("Changed state %s -> %s", \
c->state = _new; \
} while (0)
fr_table_num_sorted_t const fr_ldap_connection_states[]
Definition: base.c:51
#define fr_table_str_by_value(_table, _number, _def)
Convert an integer to a string.
Definition: table.h:772

Definition at line 30 of file state.c.

Function Documentation

◆ fr_ldap_state_error()

void fr_ldap_state_error ( fr_ldap_connection_t c)

Signal that there's been an error on the connection.

Definition at line 134 of file state.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_ldap_state_next()

fr_ldap_state_t fr_ldap_state_next ( fr_ldap_connection_t c)

Move between LDAP connection states.

Bringing up an LDAP connection is quite complex, as we need to do multiple operations before we can install the main mux/demux functions which do the work of sending requests to the directory and processing the responses.

This function moves the connection through different states, setting different I/O handlers.

If any of the states

Definition at line 49 of file state.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: