File: cmd_configure.c

package info (click to toggle)
gentoo 0.11.10-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,116 kB
  • ctags: 2,901
  • sloc: ansic: 23,849; makefile: 195
file content (26 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
** 1998-12-14 -	A new module to pretty up the configuration-invocation, and also
**		to implement a ConfigSave command.
*/

#include "gentoo.h"
#include "cfg_gui.h"
#include "cmd_configure.h"

/* ----------------------------------------------------------------------------------------- */

/* 1998-12-14 -	This is the classic "Configure" command, just given a standard prototype. */
int cmd_configure(MainInfo *min, DirPane *src, DirPane *dst, CmdArg *ca)
{
	cfg_gui(min);

	return TRUE;
}

/* 1998-12-14 -	This command causes the configuration to be saved. */
int cmd_configuresave(MainInfo *min, DirPane *src, DirPane *dst, CmdArg *ca)
{
	cfg_save_all(min);

	return TRUE;
}