[ekg2-commit] ekg2: stuff.c (HEAD) stuff.h (HEAD) vars.c (HEAD) [darkjames]

CVS commit cvs w amba.bydg.pdi.net
Czw, 15 Lut 2007, 23:16:54 CET


Module name:	ekg2
Changes by:	darkjames	07/02/15 23:16:50

Modified files:
	stuff.c stuff.h vars.c

Log message:
new variable /set lastlog_matchcase
when 1 (on) it should display only results case-sensitive
when 0 (off) case-inssetive

Index: stuff.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/stuff.c,v
diff -d -u -r1.141 -r1.142
--- stuff.c	6 Feb 2007 20:29:57 -0000	1.141
+++ stuff.c	15 Feb 2007 22:16:47 -0000	1.142
@@ -155,6 +155,7 @@
 char *config_profile = NULL;
 int config_reason_limit = 1;
 int config_debug = 1;
+int config_lastlog_case = 0;
 
 char *last_search_first_name = NULL;
 char *last_search_last_name = NULL;

Index: stuff.h
===================================================================
RCS file: /home/cvs/ekg2/ekg/stuff.h,v
diff -d -u -r1.77 -r1.78
--- stuff.h	6 Feb 2007 10:13:10 -0000	1.77
+++ stuff.h	15 Feb 2007 22:16:48 -0000	1.78
@@ -204,6 +204,7 @@
 extern int config_keep_reason;
 extern int config_last;
 extern int config_last_size;
+extern int config_lastlog_case;
 extern int config_make_window;
 extern int config_mesg;
 extern int config_query_commands;

Index: vars.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/vars.c,v
diff -d -u -r1.75 -r1.76
--- vars.c	6 Feb 2007 10:13:11 -0000	1.75
+++ vars.c	15 Feb 2007 22:16:48 -0000	1.76
@@ -114,6 +114,7 @@
 	variable_add(NULL, ("keep_reason"), VAR_INT, 1, &config_keep_reason, NULL, NULL, NULL);
 	variable_add(NULL, ("last"), VAR_MAP, 1, &config_last, NULL, variable_map(4, 0, 0, "none", 1, 2, "all", 2, 1, "separate", 4, 0, "sent"), NULL);
 	variable_add(NULL, ("last_size"), VAR_INT, 1, &config_last_size, NULL, NULL, NULL);
+	variable_add(NULL, ("lastlog_matchcase"), VAR_BOOL, 1, &config_lastlog_case, NULL, NULL, NULL);
 	variable_add(NULL, ("make_window"), VAR_INT, 1, &config_make_window, changed_display_blinking, variable_map(3, 0, 0, "none", 1, 2, "usefree", 2, 1, "always"), NULL);
 	variable_add(NULL, ("mesg"), VAR_INT, 1, &config_mesg, changed_mesg, variable_map(3, 0, 0, "no", 1, 2, "yes", 2, 1, "default"), NULL);
 	variable_add(NULL, ("query_commands"), VAR_BOOL, 1, &config_query_commands, NULL, NULL, NULL);


Więcej informacji o liście dyskusyjnej ekg2-commit