source: trunk/stopos.h @ 26

Last change on this file since 26 was 24, checked in by willem, 10 years ago

willem

File size: 1.4 KB
Line 
1
2/*
3   Copyright 2013 Willem Vermin, SURFsara
4
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16 */
17#ifndef STOPOS_H
18#define STOPOS_H
19#include "wtd.h"
20static const char dbsep           = '/';  // separator used in database
21static const char httpsep         = '-';  // separator used in http string from client to server
22static const char outsep          = '+';  // separator used in output from server to client
23static const char keysep          = '.';  // separator to separate stopos
24                                          // key from extra key
25const std::string program_name    = "stopos";
26const std::string program_version = "0.93";
27const std::string default_pool    = "pool";
28
29typedef unsigned long long longuint;
30
31const static size_t maxlinelength = 1024;
32
33const std::string  connect_error_msg      = "ERROR: Cannot connect to server";
34const unsigned int connect_error_retries  = 60;
35
36#endif
Note: See TracBrowser for help on using the repository browser.