GDBMS 1.0
|
00001 class settings{ 00002 public: 00003 settings(); 00004 ~settings(); 00005 static bool logging_enabled(char *type_log); 00006 static void send_log(char *path_file, char*what_to_log); 00007 static bool is_admin(int user_id); 00008 static char *getgroupid(char *userid); 00009 static char *getgroupofgraphcreator(char *graph_id); 00010 static int getRightsWORD(char *graph_id); 00011 static void determineTransactionActionPermittion(int &permitted, int transaction_USCOREid, int rw1, int rw2, int rw3); 00012 static char *getGraphfromTransaction(char *transaction_id); 00013 static bool is_type_path_valid(char *path, char *graph_id); 00014 static bool is_int(char *value); 00015 static bool is_numeric(char *value); 00016 static void getparsestr(char *graph_id, char *path, string &return_parsestr); 00017 static void split(char *str, int *numbers_splitted, char ***splitted, char delimeter); 00018 private: 00019 00020 00021 00022 protected: 00023 00024 };