first commit

This commit is contained in:
Jose Caban
2025-06-07 01:59:34 -04:00
commit 388ac241f0
3558 changed files with 9116289 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#ifndef _SETTINGS_H_
#define _SETTINGS_H_
/////////////
// Globals //
/////////////
typedef struct {
char* LOAD_DIR; // Server home directory
char* CONFIG_FILE; // Config File, should be constant
int MAX_THREADS; // Maximum number of threads to spawn
unsigned short PORT_NUMBER; // Port number to use
char useSHMEM;
} settings_t;
///////////////
// Functions //
///////////////
int init_settings(settings_t *s, int, char**);
#endif