*
* 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 2
- * of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation; only version 2
+ * of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
#ifndef _LTTNG_CONFIG_H
#define _LTTNG_CONFIG_H
-#define CONFIG_FILENAME "config"
-#define CONFIG_DIRNAME ".lttng"
+#define CONFIG_FILENAME ".lttngrc"
void config_destroy(char *path);
int config_init(char *path);
int config_add_session_name(char *path, char *name);
+char *config_get_default_path(void);
/* Must free() the return pointer */
-char *config_generate_dir_path(char *path);
char *config_read_session_name(char *path);
-char *config_get_default_path(void);
+char *config_get_file_path(char *path);
#endif /* _LTTNG_CONFIG_H */