summaryrefslogtreecommitdiffabout
path: root/gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h
Side-by-side diff
Diffstat (limited to 'gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h b/gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h
new file mode 100644
index 0000000..1e76af9
--- a/dev/null
+++ b/gammu/emb/gammu/depend/nokia/dct3trac/wmx-list.h
@@ -0,0 +1,28 @@
+#ifndef WMX_TRACELIST_INCLUDED
+#define WMX_TRACELIST_INCLUDED
+
+struct wmx_tracetype {
+ int type;
+ char *desc;
+};
+
+struct wmx_tracelist {
+ int max, entries;
+ struct wmx_tracetype *records;
+};
+
+struct wmx_tracestruct {
+ struct wmx_tracelist majors, minors;
+};
+
+struct wmx_tracestruct *wmx_tracestruct_load(char *listfile);
+struct wmx_tracetype *wmx_tracestruct_querymajor(struct wmx_tracestruct * ts, int type);
+struct wmx_tracetype *wmx_tracestruct_queryminor(struct wmx_tracestruct * ts, int type);
+
+void wmx_tracestruct_free(struct wmx_tracestruct * ts);
+
+#endif
+
+/* How should editor hadle tabs in this file? Add editor commands here.
+ * vim: noexpandtab sw=8 ts=8 sts=8:
+ */