summaryrefslogtreecommitdiff
path: root/include/libms
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2024-11-06 23:19:40 +0100
committerGitHub <noreply@github.com>2024-11-06 17:19:40 -0500
commitd3d4bd253ce9eb259df2a09543eaf341c17f579b (patch)
treec7e41e881cff6f774e345b761a0de6d280f07931 /include/libms
parent25f6797ab86700fa301423e003f32d770845d0e1 (diff)
Some large functions in d_tag_processor (#86)
* d_tag_processor WIP * Progress * Unconst * Fix switch command (thanks Roeming!) * Match a random text related file instead * More progress * More progress * No missing breaks * Some repair * Some repair and shuffling * More repair * a bit better * a bit better 2 * what a switch order * Closer unrolling * Minor cleanup * Fix accidental cases * More fixes * even better * More fixes * Down to regswaps * Some renames * Review feedback * cleanup more sdata2 values and eventFlowTextProcessingRelated match --------- Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
Diffstat (limited to 'include/libms')
-rw-r--r--include/libms/commonlib.h5
-rw-r--r--include/libms/flowfile.h5
-rw-r--r--include/libms/libms.h5
-rw-r--r--include/libms/msgfile.h5
4 files changed, 20 insertions, 0 deletions
diff --git a/include/libms/commonlib.h b/include/libms/commonlib.h
index b99702b6..13e8bcc1 100644
--- a/include/libms/commonlib.h
+++ b/include/libms/commonlib.h
@@ -1,3 +1,6 @@
+#ifndef LIBMS_COMMONLIB_H
+#define LIBMS_COMMONLIB_H
+
#include "common.h"
#ifdef __cplusplus
@@ -49,3 +52,5 @@ int LMSi_GetHashTableIndexFromLabel(const char *label, int tableSize);
#ifdef __cplusplus
}
#endif
+
+#endif
diff --git a/include/libms/flowfile.h b/include/libms/flowfile.h
index a017cf1d..9bc47790 100644
--- a/include/libms/flowfile.h
+++ b/include/libms/flowfile.h
@@ -1,3 +1,6 @@
+#ifndef LIBMS_FLOWFILE_H
+#define LIBMS_FLOWFILE_H
+
#include "common.h"
#ifdef __cplusplus
@@ -28,3 +31,5 @@ const unsigned short *LMS_GetBranchPoints(struct MsbfInfo *info, int index);
#ifdef __cplusplus
}
#endif
+
+#endif
diff --git a/include/libms/libms.h b/include/libms/libms.h
index a83faed3..86345e16 100644
--- a/include/libms/libms.h
+++ b/include/libms/libms.h
@@ -1,3 +1,6 @@
+#ifndef LIBMS_LIBMS_H
+#define LIBMS_LIBMS_H
+
#include "common.h"
#ifdef __cplusplus
@@ -15,3 +18,5 @@ void LMSi_MemCopy(char *p1, const char *p2, int n);
#ifdef __cplusplus
}
#endif
+
+#endif
diff --git a/include/libms/msgfile.h b/include/libms/msgfile.h
index c866e0f7..50121699 100644
--- a/include/libms/msgfile.h
+++ b/include/libms/msgfile.h
@@ -1,3 +1,6 @@
+#ifndef LIBMS_MSGFILE_H
+#define LIBMS_MSGFILE_H
+
#include "common.h"
#ifdef __cplusplus
@@ -22,3 +25,5 @@ struct MsbtAttrInfo *LMS_GetAttribute(struct MsbtInfo *info, int index);
#ifdef __cplusplus
}
#endif
+
+#endif