ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/conf.C
(Generate patch)

Comparing gvpe/src/conf.C (file contents):
Revision 1.24 by pcg, Fri Apr 2 14:42:45 2004 UTC vs.
Revision 1.26 by pcg, Wed May 12 13:32:13 2004 UTC

113 default_node.udp_port = DEFAULT_UDPPORT; 113 default_node.udp_port = DEFAULT_UDPPORT;
114 default_node.tcp_port = DEFAULT_UDPPORT; // ehrm 114 default_node.tcp_port = DEFAULT_UDPPORT; // ehrm
115 default_node.connectmode = conf_node::C_ALWAYS; 115 default_node.connectmode = conf_node::C_ALWAYS;
116 default_node.compress = true; 116 default_node.compress = true;
117 default_node.protocols = PROT_UDPv4; 117 default_node.protocols = PROT_UDPv4;
118
119 conf.pidfilename = strdup (LOCALSTATEDIR "/run/vped.pid");
118} 120}
119 121
120void configuration::cleanup() 122void configuration::cleanup()
121{ 123{
122 if (rsa_key) 124 if (rsa_key)
483 printf ("\n"); 485 printf ("\n");
484} 486}
485 487
486configuration::configuration () 488configuration::configuration ()
487{ 489{
490 asprintf (&confbase, "%s/vpe", CONFDIR);
491
488 init (); 492 init ();
489} 493}
490 494
491configuration::~configuration () 495configuration::~configuration ()
492{ 496{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines