Subversion
|
These functions enable the caller to dereference an APR hash table index without type casts or temporary variables. More...
Defines | |
#define | SVN__APR_STATUS_IS_ENOTDIR(s) APR_STATUS_IS_ENOTDIR(s) |
On Windows, APR_STATUS_IS_ENOTDIR includes several kinds of invalid-pathname error but not ERROR_INVALID_NAME, so we include it. | |
Functions | |
const void * | svn__apr_hash_index_key (const apr_hash_index_t *hi) |
Return the key of the hash table entry indexed by hi. | |
apr_ssize_t | svn__apr_hash_index_klen (const apr_hash_index_t *hi) |
Return the key length of the hash table entry indexed by hi. | |
void * | svn__apr_hash_index_val (const apr_hash_index_t *hi) |
Return the value of the hash table entry indexed by hi. |
These functions enable the caller to dereference an APR hash table index without type casts or temporary variables.
### These are private, and may go away when APR implements them natively.
#define SVN__APR_STATUS_IS_ENOTDIR | ( | s | ) | APR_STATUS_IS_ENOTDIR(s) |
On Windows, APR_STATUS_IS_ENOTDIR includes several kinds of invalid-pathname error but not ERROR_INVALID_NAME, so we include it.
We also include ERROR_DIRECTORY as that was not included in apr versions before 1.4.0 and this fix is not backported
Definition at line 182 of file svn_types.h.
const void* svn__apr_hash_index_key | ( | const apr_hash_index_t * | hi | ) |
Return the key of the hash table entry indexed by hi.
apr_ssize_t svn__apr_hash_index_klen | ( | const apr_hash_index_t * | hi | ) |
Return the key length of the hash table entry indexed by hi.
void* svn__apr_hash_index_val | ( | const apr_hash_index_t * | hi | ) |
Return the value of the hash table entry indexed by hi.