nfs-ganesha 1.4
Functions

posixdb_getChildren.c File Reference

#include <string.h>
#include "fsal.h"
#include "posixdb_internal.h"
#include "abstract_mem.h"

Go to the source code of this file.

Functions

fsal_posixdb_status_t fsal_posixdb_getChildren (fsal_posixdb_conn *p_conn, posixfsal_handle_t *p_parent_directory_handle, unsigned int max_count, fsal_posixdb_child **p_children, unsigned int *p_count)

Function Documentation

fsal_posixdb_status_t fsal_posixdb_getChildren ( fsal_posixdb_conn *  p_conn,
posixfsal_handle_t p_parent_directory_handle,
unsigned int  max_count,
fsal_posixdb_child **  p_children,
unsigned int *  p_count 
)

fsal_posixdb_getChildren: retrieve all the children of a directory handle.

Parameters:
p_conn(input) Database connection
p_parent_directory_handle(input): Handle of the directory where the objects to be retrieved are.
p_children,:Children of p_parent_directory_handle. It is dynamically allocated inside the function. It have to be freed outside the function !!!
p_count,:Number of children returned in p_children
Returns:
- FSAL_POSIXDB_NOERR, if no error.
  • another error code else.

Definition at line 28 of file MYSQL/posixdb_getChildren.c.