diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2018-03-06 17:38:59 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2018-03-06 17:38:59 +0000 |
| commit | 26b3b3e368a79ce29df732ea04e72a4c002ae2ce (patch) | |
| tree | e3fc8d7461ab371279f7bf9c692096cd39cc92f6 /ioreplay/src/defaults.h | |
| parent | ae2221660f9b411fa78cdf8034f0803e9a870cde (diff) | |
rename into ioriot
Diffstat (limited to 'ioreplay/src/defaults.h')
| -rw-r--r-- | ioreplay/src/defaults.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/ioreplay/src/defaults.h b/ioreplay/src/defaults.h deleted file mode 100644 index de7910e..0000000 --- a/ioreplay/src/defaults.h +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2018 Mimecast Ltd. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#ifndef DEFAULTS_H -#define DEFAULTS_H - -#include "utils/utils.h" - -/** Version of the supported .capture format */ -#define CAPTURE_VERSION 1 -/** Version of the supported .replay format */ -#define REPLAY_VERSION 1 -/** Max amount of tokens per line in the .capture file */ -#define MAX_TOKENS 10 -/** Max line length in either .capture or .replay file */ -#define MAX_LINE_LEN 1024*8 -/** Controls how many tasks can be queued and buffered per worker thread */ -#define TASK_BUFFER_PER_THREAD 512 -/** Version of I/O Replay */ -#define IOREPLAY_VERSION "0.3-develop" -/** Copyright information */ -#define IOREPLAY_COPYRIGHT "Mimecast 2017, 2018 (c)" -/** Max open files resource user limit */ -#define SET_RLIMIT_NOFILE 369216 -/** Max processes resource user limit */ -#define SET_RLIMIT_NPROC 30768 - -// The following are for debugging purposes only - -//#define NO_IOOP -//#define THREAD_DEBUG -//#define LOG_FILTERED - -/** - * @brief Return status codes - */ -typedef enum status_e_ { - SUCCESS, /**< Great success! */ - UNKNOWN, /**< Unknown return status :-/ */ - ERROR, /**< An error happened :-( */ -} status_e; - -#endif // DEFAULTS_H |
