Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


added network server files
[palacios.git] / misc / network_servers / vtl / config.h
1 #ifndef _config
2 #define _config
3 #include <string>
4 #include <iostream>
5 #include <fstream>
6 #include <map>
7 #include <sstream>
8
9 using namespace std;
10
11 #define MAX_CONFIG_LINE_SIZE 1024
12
13
14 struct eqstr {
15   bool operator()(const string s1, const string s2) const {
16     return strcmp(s1.c_str(), s2.c_str()) < 0;
17   }
18 };
19
20 typedef map<const string, string, eqstr> config_t;
21
22
23 int read_config(string conf_file_name, config_t * config);
24
25
26
27 #endif