Blame apache2/msc_gsb.h

Packit 284210
/*
Packit 284210
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
Packit 284210
* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)
Packit 284210
*
Packit 284210
* You may not use this file except in compliance with
Packit 284210
* the License.  You may obtain a copy of the License at
Packit 284210
*
Packit 284210
*     http://www.apache.org/licenses/LICENSE-2.0
Packit 284210
*
Packit 284210
* If any of the files related to licensing are missing or if you have any
Packit 284210
* other questions related to licensing please contact Trustwave Holdings, Inc.
Packit 284210
* directly using the email address security@modsecurity.org.
Packit 284210
*/
Packit 284210
Packit 284210
#ifndef _MSC_GSB_H_
Packit 284210
#define _MSC_GSB_H_
Packit 284210
Packit 284210
typedef struct gsb_db gsb_db;
Packit 284210
Packit 284210
#include <apr_file_io.h>
Packit 284210
#include "modsecurity.h"
Packit 284210
#include "apr_hash.h"
Packit 284210
Packit 284210
struct gsb_db {
Packit 284210
    apr_file_t *db;
Packit 284210
    const char *dbfn;
Packit 284210
    apr_hash_t *gsb_table;
Packit 284210
};
Packit 284210
Packit 284210
int DSOLOCAL gsb_db_init(directory_config *dcfg, const char *dbfn, char **error_msg);
Packit 284210
Packit 284210
#endif