summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.c27
-rw-r--r--src/config.h2
2 files changed, 0 insertions, 29 deletions
diff --git a/src/config.c b/src/config.c
index 631b580..5e84338 100644
--- a/src/config.c
+++ b/src/config.c
@@ -230,30 +230,3 @@ char* config_get(config_t* conf, char* key) {
// // Success!
// return 0;
// }
-
-// bool config::isset( string key ) {
-// for( int i = 0; i < values.size(); i+=2 ) {
-// if( values[i] == key ) {
-// return true;
-// }
-// }
-// return false;
-// }
-
-/**
- * Returns the value for the specified key
- *
- * string key - The key to return the value for
- *
- * return string The value of the specified key
- */
-// string config::get( string key ) {
-// // Hop skip and jump
-// // Evens are keys, odds are values (even + 1)
-// for( int i = 0; i < values.size(); i+=2 ) {
-// if( values[i] == key ) {
-// return values[i+1];
-// }
-// }
-// return "Unknown";
-// }
diff --git a/src/config.h b/src/config.h
index 89d1bdd..07af035 100644
--- a/src/config.h
+++ b/src/config.h
@@ -45,8 +45,6 @@ char* config_get(config_t*, char*);
int config_valid_line_count(char*);
-// get(char*, char*);
-// int isset(char*);
// int parse_line(char*);
#endif

Generated by cgit