Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/bsock
File: bsock_daemon.h
/*
[0] Fix | Delete
* bsock_daemon - daemon initialization and signal setup
[1] Fix | Delete
*
[2] Fix | Delete
* Copyright (c) 2011, Glue Logic LLC. All rights reserved. code()gluelogic.com
[3] Fix | Delete
*
[4] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[5] Fix | Delete
* modification, are permitted provided that the following conditions are met:
[6] Fix | Delete
* * Redistributions of source code must retain the above copyright
[7] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[8] Fix | Delete
* * Redistributions in binary form must reproduce the above copyright
[9] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[10] Fix | Delete
* documentation and/or other materials provided with the distribution.
[11] Fix | Delete
* * Neither the name of Glue Logic LLC nor the names of its contributors
[12] Fix | Delete
* may be used to endorse or promote products derived from this software
[13] Fix | Delete
* without specific prior written permission.
[14] Fix | Delete
*
[15] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
[16] Fix | Delete
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[17] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[18] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
[19] Fix | Delete
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
[20] Fix | Delete
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
[21] Fix | Delete
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
[22] Fix | Delete
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
[23] Fix | Delete
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
[24] Fix | Delete
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[25] Fix | Delete
*/
[26] Fix | Delete
[27] Fix | Delete
#ifndef INCLUDED_BSOCK_DAEMON_H
[28] Fix | Delete
#define INCLUDED_BSOCK_DAEMON_H
[29] Fix | Delete
[30] Fix | Delete
#include <sys/types.h>
[31] Fix | Delete
#include <stdbool.h>
[32] Fix | Delete
[33] Fix | Delete
#ifdef __cplusplus
[34] Fix | Delete
extern "C" {
[35] Fix | Delete
#endif
[36] Fix | Delete
[37] Fix | Delete
bool
[38] Fix | Delete
bsock_daemon_setuid_stdinit (void);
[39] Fix | Delete
[40] Fix | Delete
bool
[41] Fix | Delete
bsock_daemon_init (const int supervised, const bool check);
[42] Fix | Delete
[43] Fix | Delete
int __attribute__((nonnull))
[44] Fix | Delete
bsock_daemon_init_socket (const char * const restrict sockpath, /*(persistent)*/
[45] Fix | Delete
const uid_t uid, const gid_t gid,
[46] Fix | Delete
const mode_t mode);
[47] Fix | Delete
[48] Fix | Delete
size_t
[49] Fix | Delete
bsock_daemon_msg_control_max (void);
[50] Fix | Delete
[51] Fix | Delete
#ifdef __cplusplus
[52] Fix | Delete
}
[53] Fix | Delete
#endif
[54] Fix | Delete
[55] Fix | Delete
#endif
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function