include/v2l_vcard.h File Reference

XML vCard's to/from LDAP objects translation functions. More...

#include <v2l_conn.h>

Include dependency graph for v2l_vcard.h:

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

Go to the source code of this file.

Functions

xmlnode v2l_vcard_get (v2l_Config *self, v2l_LdapConn *curr_conn)
int v2l_vcard_set (v2l_Config *self, v2l_LdapConn *curr_conn, xmlnode data)


Detailed Description

XML vCard's to/from LDAP objects translation functions.

Definition in file v2l_vcard.h.


Function Documentation

xmlnode v2l_vcard_get ( v2l_Config self,
v2l_LdapConn curr_conn 
)

Gets user vCard in xml format.

Parameters:
self Module config
curr_conn user connection.
Returns:
vCard main node, NULL if error.

Definition at line 177 of file v2l_vcard.c.

References _v2l_create_fn(), _v2l_vcard_attr_match(), _v2l_vcard_attr_value(), _v2l_vcard_map(), v2l_ldap_for_all_attrs(), v2l_ldap_get_entry(), and v2l_vCardItem::vcard.

Referenced by _v2l_packets_handler().

Here is the call graph for this function:

Here is the caller graph for this function:

int v2l_vcard_set ( v2l_Config self,
v2l_LdapConn curr_conn,
xmlnode  data 
)

Writes vCard to user LDAP directory entry.

Parameters:
self Module config
curr_conn user connection.
data the vCard
Returns:
1 if no error, otherwise 0

Definition at line 230 of file v2l_vcard.c.

References _v2l_set_sn12(), _v2l_vcard2ldap_generic(), _v2l_vcard_map(), v2l_vCardItem::group, v2l_Config::irishack, v2l_vCardItem::next, v2l_request_record(), and v2l_vCardItem::vcard.

Referenced by _v2l_packets_handler().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun Oct 7 14:38:20 2007 for vCard2LDAP by  doxygen 1.5.1