apr_initialize

Prototypes

apr_status_t apr_initialize(void);

Description

Initialise la bibliothèque Apache Portable Run-time (APR). Cette fonction doit être appelée avant tout autre.

Le résultat est APR_SUCCESS en cas de succès.

Exemple

#include <httpd.h>
#include <http_config.h>
#include <http_log.h>
#include <http_protocol.h>
#include <http_request.h>
#include <http_core.h>
#include <ap_compat.h>

...
if (apr_initialize()!=APR_SUCCESS) ...
apr_terminate();
...

Voir aussi

apr_terminate pour terminer la bibliothèque Apache Portable Run-time.