aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acidtypes/dat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/acidtypes/dat.h')
-rw-r--r--src/cmd/acidtypes/dat.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd/acidtypes/dat.h b/src/cmd/acidtypes/dat.h
index 30f22016..1ad77714 100644
--- a/src/cmd/acidtypes/dat.h
+++ b/src/cmd/acidtypes/dat.h
@@ -1,6 +1,7 @@
typedef struct Type Type;
typedef struct Typeref Typeref;
typedef struct TypeList TypeList;
+typedef struct Sym Sym;
enum
{
@@ -47,6 +48,14 @@ struct TypeList
TypeList *tl;
};
+struct Sym
+{
+ char *fn;
+ char *name;
+ Type *type;
+ Sym *next;
+};
+
void *erealloc(void*, uint);
void *emalloc(uint);
char *estrdup(char*);
@@ -70,3 +79,9 @@ void freetypes(void);
extern char *prefix;
char *fixname(char*);
+
+void addsymx(char*, char*, Type*);
+void dumpsyms(Biobuf*);
+
+
+