|
nfs-ganesha 1.4
|
Classes | |
| struct | nodelist_idlist |
| structure that represent a range of long int value More... | |
Typedefs | |
| typedef struct nodelist_idlist | nodelist_idlist_t |
| structure that represent a range of long int value | |
Functions | |
| int | nodelist_idlist_init (nodelist_idlist_t *idlist, char **lists, int lists_nb) |
| Initialize a bridge ids list structure. | |
| int | nodelist_idlist_free_contents (nodelist_idlist_t *idlist) |
| Free a bridge ids list structure. | |
| int | nodelist_idlist_add_ids (nodelist_idlist_t *idlist, char *list) |
| Add a ids list to a bridge ids list structure. | |
| long int | nodelist_idlist_ids_quantity (nodelist_idlist_t *idlist) |
| Get ids quantity. | |
| int | nodelist_idlist_get_extended_string (nodelist_idlist_t *idlist, char **p_string) |
| Get extended ids string. | |
| int | nodelist_idlist_get_compacted_string (nodelist_idlist_t *idlist, char **p_string) |
| Get compacted ids string. | |
| typedef struct nodelist_idlist nodelist_idlist_t |
structure that represent a range of long int value
| int nodelist_idlist_add_ids | ( | nodelist_idlist_t * | idlist, |
| char * | list | ||
| ) |
Add a ids list to a bridge ids list structure.
| idlist | pointer on a bridge ids list structure |
| list | ids list to add to this bridge ids list |
| n | padding length if operation successfully done |
| -1 | operation failed |
| int nodelist_idlist_free_contents | ( | nodelist_idlist_t * | idlist | ) |
Free a bridge ids list structure.
| idlist | pointer on a bridge ids list structure to finalize |
| 0 | operation successfully done |
| -1 | operation failed |
| int nodelist_idlist_get_compacted_string | ( | nodelist_idlist_t * | idlist, |
| char ** | p_string | ||
| ) |
Get compacted ids string.
| idlist | pointer on a bridge ids list structure |
| p_string | pointer on a string that will be allocated and filled with compacted ids list |
| 0 | operation successfully done |
| -1 | operation failed |
| int nodelist_idlist_get_extended_string | ( | nodelist_idlist_t * | idlist, |
| char ** | p_string | ||
| ) |
Get extended ids string.
| idlist | pointer on a bridge ids list structure |
| p_string | pointer on a string that will be allocated and filled with ids names |
| 0 | operation successfully done |
| -1 | operation failed |
| long int nodelist_idlist_ids_quantity | ( | nodelist_idlist_t * | idlist | ) |
Get ids quantity.
| idlist | pointer on a bridge ids list structure |
| quantity | of ids in this bridge ids list |
| int nodelist_idlist_init | ( | nodelist_idlist_t * | idlist, |
| char ** | lists, | ||
| int | lists_nb | ||
| ) |
Initialize a bridge ids list structure.
| idlist | pointer on a bridge ids list structure to initialize |
| lists | array of strings containing ids to add to this list |
| lists_nb | quanity of string in the array |
| 0 | operation successfully done |
| -1 | operation failed |
1.7.3