X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fcfg.h;h=4f18d2dea0fe712c6b9eabd308f71f2e008fefd4;hb=1a777c7b08fc99b51cd2dc72188d45ee6d82804a;hp=1f8eee272e80c893fdaf2510aaae568fe5a1058f;hpb=b82d60137dc0b16ef451936fcc97fa8f25fe7b33;p=libgliar
diff --git a/src/cfg.h b/src/cfg.h
index 1f8eee2..4f18d2d 100644
--- a/src/cfg.h
+++ b/src/cfg.h
@@ -1,9 +1,36 @@
+/*
+libgliar - a library that can fake the OpenGL context info returned by
+the glGet OpenGL calls
+
+Copyright (C) 2013 Canonical Ltd
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
+
+Author: Eleni Maria Stea
+*/
+
#ifndef CFG_H_
#define CFG_H_
+enum TYPE {unknown, flt, dbl, boolean, integer, str};
+
struct cfgopt {
char *key;
- char *val;
+ char *str_val;
+
+ double num_val;
+ enum TYPE type;
struct cfgopt *next;
};