Blame apache2/msc_status_engine.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_STATUS_ENGINE_H
|
|
Packit |
284210 |
#define MSC_STATUS_ENGINE_H
|
|
Packit |
284210 |
|
|
Packit |
284210 |
#include "apr.h"
|
|
Packit |
284210 |
#include "apr_pools.h"
|
|
Packit |
284210 |
#include "apr_version.h"
|
|
Packit |
284210 |
#include "apr_optional.h"
|
|
Packit |
284210 |
#include "msc_pcre.h"
|
|
Packit |
284210 |
|
|
Packit |
284210 |
#ifndef WIN32
|
|
Packit |
284210 |
#define STATUS_ENGINE_DNS_IN_BETWEEN_DOTS 32
|
|
Packit |
284210 |
#else
|
|
Packit |
284210 |
#define STATUS_ENGINE_DNS_IN_BETWEEN_DOTS 30
|
|
Packit |
284210 |
#endif
|
|
Packit |
284210 |
|
|
Packit |
284210 |
#define STATUS_ENGINE_DNS_SUFFIX "status.modsecurity.org"
|
|
Packit |
284210 |
|
|
Packit |
284210 |
#define MAX_MACHINE_NAME_SIZE 100
|
|
Packit |
284210 |
|
|
Packit |
284210 |
#define MAC_ADDRESS_SIZE 20
|
|
Packit |
284210 |
|
|
Packit |
284210 |
static const char msc_status_engine_basis_32[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";
|
|
Packit |
284210 |
|
|
Packit |
284210 |
int msc_status_engine_call(void);
|
|
Packit |
284210 |
|
|
Packit |
284210 |
int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest);
|
|
Packit |
284210 |
|
|
Packit |
284210 |
int DSOLOCAL msc_beacon_string (char *beacon_string, int beacon_string_max_len);
|
|
Packit |
284210 |
|
|
Packit |
284210 |
#endif
|