aboutsummaryrefslogtreecommitdiff
path: root/include/str.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-06-21 12:36:55 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-06-21 12:48:40 -0400
commit7d675a70bf92bd1606f77fae01c6e56afdcee5ef (patch)
tree91cf7cb955798ad40718341172b0a8ffbc59a1f2 /include/str.h
parent931ee28eb9c5b5e3c2b0d3008f5f65d810dc9b0c (diff)
downloadstasis-7d675a70bf92bd1606f77fae01c6e56afdcee5ef.tar.gz
Rebrand OhMyCal (OMC) as STASIS
Diffstat (limited to 'include/str.h')
-rw-r--r--include/str.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/str.h b/include/str.h
index 595a055..4cf221d 100644
--- a/include/str.h
+++ b/include/str.h
@@ -1,20 +1,20 @@
/**
* @file str.h
*/
-#ifndef OMC_STR_H
-#define OMC_STR_H
+#ifndef STASIS_STR_H
+#define STASIS_STR_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
-#include "omc.h"
+#include "core.h"
-#define OMC_SORT_ALPHA 1 << 0
-#define OMC_SORT_NUMERIC 1 << 1
-#define OMC_SORT_LEN_ASCENDING 1 << 2
-#define OMC_SORT_LEN_DESCENDING 1 << 3
+#define STASIS_SORT_ALPHA 1 << 0
+#define STASIS_SORT_NUMERIC 1 << 1
+#define STASIS_SORT_LEN_ASCENDING 1 << 2
+#define STASIS_SORT_LEN_DESCENDING 1 << 3
/**
* Determine how many times the character `ch` appears in `sptr` string
@@ -115,10 +115,10 @@ char *substring_between(char *sptr, const char *delims);
* Sort an array of strings
* @param arr a NULL terminated array of strings
* @param sort_mode
- * - OMC_SORT_LEN_DESCENDING
- * - OMC_SORT_LEN_ASCENDING
- * - OMC_SORT_ALPHA
- * - OMC_SORT_NUMERIC
+ * - STASIS_SORT_LEN_DESCENDING
+ * - STASIS_SORT_LEN_ASCENDING
+ * - STASIS_SORT_ALPHA
+ * - STASIS_SORT_NUMERIC
*/
void strsort(char **arr, unsigned int sort_mode);
@@ -307,4 +307,4 @@ char *tolower_s(char *s);
*/
char *to_short_version(const char *s);
-#endif //OMC_STR_H
+#endif //STASIS_STR_H