Centralized function compatible with Linux & Windows (also with mpm-itk & mod_ruid2) to get username

This commit is contained in:
Marc Stern
2023-08-11 17:17:59 +02:00
parent 11f85b82e1
commit c7b28f0e13
3 changed files with 821 additions and 841 deletions

View File

@@ -159,6 +159,8 @@ int DSOLOCAL tree_contains_ip(apr_pool_t *mp, TreeRoot *rtree,
int DSOLOCAL ip_tree_from_param(apr_pool_t *pool,
char *param, TreeRoot **rtree, char **error_msg);
char DSOLOCAL *get_username(apr_pool_t* mp);
#ifdef WITH_CURL
int ip_tree_from_uri(TreeRoot **rtree, char *uri,
apr_pool_t *mp, char **error_msg);