summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index e7b59c525a5..d334caa75c1 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.122 2012/05/29 05:40:36 lum Exp $ */
+/* $OpenBSD: def.h,v 1.123 2012/06/07 15:15:04 lum Exp $ */
/* This file is in the public domain. */
@@ -103,6 +103,8 @@ typedef int (*PF)(int, int); /* generally useful type */
#define KBACK 0x02 /* Backwards insert into kill ring */
#define KREG 0x04 /* This is a region-based kill */
+#define MAX_TOKEN 64
+
/*
* This structure holds the starting position
* (as a line/offset pair) and the number of characters in a
@@ -513,6 +515,22 @@ int joinline(int, int);
int findtag(int, int);
int poptag(int, int);
int tagsvisit(int, int);
+int curtoken(int, int, char *);
+
+/* cscope.c */
+int cssymbol(int, int);
+int csdefinition(int, int);
+int csfuncalled(int, int);
+int cscallerfuncs(int, int);
+int csfindtext(int, int);
+int csegrep(int, int);
+int csfindfile(int, int);
+int csfindinc(int, int);
+int csnextfile(int, int);
+int csnextmatch(int, int);
+int csprevfile(int, int);
+int csprevmatch(int, int);
+int cscreatelist(int, int);
/* extend.c X */
int insert(int, int);