Bash++
Bash++ compiler internal documentation
Functions | Variables
helpers.h File Reference
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/un.h>
#include <csignal>
#include <unistd.h>
#include "BashppServer.h"
Include dependency graph for helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void signal_handler (int signum)
 
int setup_tcp_server (int port)
 
int setup_unix_socket_server (const std::string &path)
 

Variables

bpp::BashppServer server
 
int client_fd
 
int server_fd
 
int socket_port
 

Function Documentation

◆ setup_tcp_server()

int setup_tcp_server ( int  port)

◆ setup_unix_socket_server()

int setup_unix_socket_server ( const std::string &  path)

◆ signal_handler()

void signal_handler ( int  signum)

Copyright (C) 2025 Andrew S. Rightenburg Bash++: Bash with classes

Variable Documentation

◆ client_fd

int client_fd
extern

◆ server

bpp::BashppServer server
extern

Copyright (C) 2025 Andrew S. Rightenburg Bash++: Bash with classes

◆ server_fd

int server_fd
extern

◆ socket_port

int socket_port
extern