- * Write session name option to the config file.
- * On success, returns 0;
- * on error, returns -1.
+ * The caller is responsible for freeing the returned string.
+ * On error, NULL is returned.
+ */
+char *config_read_session_name_quiet(char *path)
+{
+ char *name = NULL;
+
+ (void) _config_read_session_name(path, &name);
+ return name;
+}
+
+/*
+ * Write session name option to the config file.
+ * On success, returns 0;
+ * on error, returns -1.