Subversion Repositories heating

Rev

Rev 54 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 56
Line 16... Line 16...
16
 * Author: Andreas Theofilu <andreas@theosys.at>
16
 * Author: Andreas Theofilu <andreas@theosys.at>
17
 */
17
 */
18
#ifndef __CONFIG_H__
18
#ifndef __CONFIG_H__
19
#define __CONFIG_H__
19
#define __CONFIG_H__
20
 
20
 
-
 
21
#include <pthread.h>
-
 
22
 
21
#include <iostream>   // std::cout
23
#include <iostream>   // std::cout
22
#include <string>     // std::basic_string, std::char_traits
24
#include <string>     // std::basic_string, std::char_traits
23
#include <cctype>     // std::tolower
25
#include <cctype>     // std::tolower
24
#include <cstddef>    // std::size_t
26
#include <cstddef>    // std::size_t
25
 
27
 
26
#include "helper.h"
28
#include "helper.h"
27
 
29
 
-
 
30
pthread_attr_t pattr;
-
 
31
 
28
typedef struct CONFIGURE
32
typedef struct CONFIGURE
29
{
33
{
30
	// Part 1: Daemon
34
	// Part 1: Daemon
31
	int port;					// Port number the daemon will listen on
35
	int port;					// Port number the daemon will listen on
32
	char pidfile[128];			// The where the daemon writes it current PID
36
	char pidfile[128];			// The where the daemon writes it current PID