more transient dependencies

This commit is contained in:
Levi Neely 2024-06-30 16:26:01 +02:00
parent 3c243f31b5
commit 09c68dd1cb
6 changed files with 29 additions and 15 deletions

View File

@ -25,11 +25,11 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
*/
#include <iostream>
#include <string>
#include <fcntl.h>
#include <iostream>
#include <stdlib.h>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <syslog.h>
@ -37,6 +37,8 @@
#include "control_tools.h"
#include "overlay_client.h"
#include "pclsync_lib_c.h"
#include "pclsync_lib.h"
namespace cc = console_client;

View File

@ -30,11 +30,13 @@
#define CONTROL_TOOLS_H
namespace control_tools {
int start_crypto(const char *pass);
int stop_crypto();
int finalize();
int daemonize(bool do_commands);
void process_commands();
} // namespace control_tools
#endif // CONTROL_TOOLS_H

View File

@ -25,11 +25,15 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
*/
#include <iostream>
#include <string>
#include <boost/program_options.hpp>
#include "control_tools.h"
#include "pclsync_lib_c.h"
#include "pclsync_lib.h"
#include <boost/program_options.hpp>
#include <iostream>
namespace po = boost::program_options;
namespace ct = control_tools;

View File

@ -26,19 +26,19 @@
DAMAGE.
*/
#include "pclsync_lib.h"
#include "pcompat.h"
#include "psynclib.h"
#include <cstring>
#include <iostream>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <string>
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
#include "pclsync_lib_c.h"
#include "psynclib.h"
#include "pclsync_lib.h"
namespace cc = console_client;
namespace clib = cc::clibrary;

View File

@ -26,12 +26,15 @@
DAMAGE.
*/
/*
Dependencies:
- <string>
- pclsync_lib_c.h
*/
#ifndef PCLSYNC_LIB_H
#define PCLSYNC_LIB_H
#include "pclsync_lib_c.h"
#include <string>
struct pstatus_struct_;
namespace console_client {

View File

@ -26,7 +26,10 @@
DAMAGE.
*/
#include <string>
#include "pclsync_lib_c.h"
#include "pclsync_lib.h"
#ifdef __cplusplus