![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | cache_deserialize (request_t *request, rlm_cache_entry_t *c, fr_dict_t const *dict, char *in, ssize_t inlen) |
| Converts a serialized cache entry back into a structure. | |
| int | cache_serialize (TALLOC_CTX *ctx, char **out, rlm_cache_entry_t const *c) |
| Serialize a cache entry as a humanly readable string. | |
| int cache_deserialize | ( | request_t * | request, |
| rlm_cache_entry_t * | c, | ||
| fr_dict_t const * | dict, | ||
| char * | in, | ||
| ssize_t | inlen | ||
| ) |
Converts a serialized cache entry back into a structure.
| [in] | request | Current request |
| [in] | c | Cache entry to populate (should already be allocated) |
| [in] | dict | to use for unqualified attributes. |
| [in] | in | String representation of cache entry. |
| [in] | inlen | Length of string. May be < 0 in which case strlen will be used to calculate the length of the string. |
Definition at line 104 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int cache_serialize | ( | TALLOC_CTX * | ctx, |
| char ** | out, | ||
| rlm_cache_entry_t const * | c | ||
| ) |
Serialize a cache entry as a humanly readable string.
| ctx | to alloc new string in. Should be a talloc pool a little bigger than the maximum serialized size of the entry. |
| out | Where to write pointer to serialized cache entry. |
| c | Cache entry to serialize. |
Definition at line 41 of file serialize.c.
Here is the call graph for this function:
Here is the caller graph for this function:
1.9.8