]>
git.ipfire.org Git - people/ms/mstpd.git/blob - ctl_socket_client.h
1 /*****************************************************************************
2 Copyright (c) 2006 EMC Corporation.
3 Copyright (c) 2011 Factor-SPE
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2 of the License, or (at your option)
10 This program is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 You should have received a copy of the GNU General Public License along with
16 this program; if not, write to the Free Software Foundation, Inc., 59
17 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 The full GNU General Public License is included in this distribution in the
22 Authors: Srinivas Aji <Aji_Srinivas@emc.com>
23 Authors: Vitalii Demianets <vitas@nppfactor.kiev.ua>
25 ******************************************************************************/
27 #ifndef CTL_SOCKET_CLIENT_H
28 #define CTL_SOCKET_CLIENT_H
30 #include "ctl_functions.h"
32 int send_ctl_message(int cmd
, void *inbuf
, int lin
, void *outbuf
, int lout
,
33 LogString
*log
, int *res
);
34 int ctl_client_init(void);
35 void ctl_client_cleanup(void);
37 #endif /* CTL_SOCKET_CLIENT_H */