Displaying 2 results from an estimated 2 matches for "add_include_lin".
Did you mean:
  add_include_line
  
2002 Nov 11
0
Regular Expression support
...+void add_exclude_line(char *p, int regexp)
 {
 	char *tok;
 	if (!p || !*p) return;
 	p = strdup(p);
 	if (!p) out_of_memory("add_exclude_line");
  	for (tok=get_exclude_tok(p); tok; tok=get_exclude_tok(NULL))
-		add_exclude(tok, 0);
+		add_exclude(tok, 0, regexp);
 	free(p);
 }
 
-void add_include_line(char *p)
+void add_include_line(char *p, int regexp)
 {
 	char *tok;
 	if (!p || !*p) return;
 	p = strdup(p);
 	if (!p) out_of_memory("add_include_line");
 	for (tok=get_exclude_tok(p); tok; tok=get_exclude_tok(NULL))
-		add_exclude(tok, 1);
+		add_exclude(tok, 1, regexp);
 	free(p);
 }...
2001 Sep 30
0
Exclude sets generated with -C
...dup(p);
 	if (!p) out_of_memory("add_exclude_line");
  	for (tok=get_exclude_tok(p); tok; tok=get_exclude_tok(NULL))
-		add_exclude(tok, 0);
+		add_exclude_list(tok, list, 0);
 	free(p);
+}	
+	
+void add_exclude_line(char *p)
+{
+	add_exclude_line_to_list(p, &exclude_list);
 }
 
 void add_include_line(char *p)
@@ -342,6 +364,35 @@
 	free(p);
 }
 
+/* Include all entries from fname, which is a CVS/Entries file, into list */
+void add_cvs_entries(char *fname, struct exclude_struct ***list)
+{
+	char line[MAXPATHLEN];
+	FILE *f = fopen(fname,"r");
+	if (f) {
+		while (fgets(line,MAXPATHL...