|
Packit |
209cc3 |
/*
|
|
Packit |
209cc3 |
* Copyright (c) 2002 - 2003
|
|
Packit |
209cc3 |
* NetGroup, Politecnico di Torino (Italy)
|
|
Packit |
209cc3 |
* All rights reserved.
|
|
Packit |
209cc3 |
*
|
|
Packit |
209cc3 |
* Redistribution and use in source and binary forms, with or without
|
|
Packit |
209cc3 |
* modification, are permitted provided that the following conditions
|
|
Packit |
209cc3 |
* are met:
|
|
Packit |
209cc3 |
*
|
|
Packit |
209cc3 |
* 1. Redistributions of source code must retain the above copyright
|
|
Packit |
209cc3 |
* notice, this list of conditions and the following disclaimer.
|
|
Packit |
209cc3 |
* 2. Redistributions in binary form must reproduce the above copyright
|
|
Packit |
209cc3 |
* notice, this list of conditions and the following disclaimer in the
|
|
Packit |
209cc3 |
* documentation and/or other materials provided with the distribution.
|
|
Packit |
209cc3 |
* 3. Neither the name of the Politecnico di Torino nor the names of its
|
|
Packit |
209cc3 |
* contributors may be used to endorse or promote products derived from
|
|
Packit |
209cc3 |
* this software without specific prior written permission.
|
|
Packit |
209cc3 |
*
|
|
Packit |
209cc3 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
Packit |
209cc3 |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
Packit |
209cc3 |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
Packit |
209cc3 |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
Packit |
209cc3 |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
Packit |
209cc3 |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
Packit |
209cc3 |
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
Packit |
209cc3 |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
Packit |
209cc3 |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
Packit |
209cc3 |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
Packit |
209cc3 |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit |
209cc3 |
*
|
|
Packit |
209cc3 |
*/
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
#ifndef __RPCAPD_H__
|
|
Packit |
209cc3 |
#define __RPCAPD_H__
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
#define PROGRAM_NAME "rpcapd"
|
|
Packit |
209cc3 |
#define SOCKET_MAXCONN 10 /* Maximum number of connections queued into the accept() */
|
|
Packit |
209cc3 |
#ifdef _WIN32
|
|
Packit |
209cc3 |
void send_shutdown_notification(void); // Send notification to shut down the daemon
|
|
Packit |
209cc3 |
void send_reread_configuration_notification(void); // Send notification to re-read the configuration file
|
|
Packit |
209cc3 |
#endif
|
|
Packit |
209cc3 |
void main_startup(void);
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
#endif
|