OSDN Git Service

client 0.5.1 release
[unagi/old-svn-converted.git] / client / tag / 0.5.1 / textutil.h
diff --git a/client/tag/0.5.1/textutil.h b/client/tag/0.5.1/textutil.h
new file mode 100644 (file)
index 0000000..98f7588
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef _TEXTUTIL_H_
+#define _TEXTUTIL_H_
+enum{
+       TEXT_MAXLINE = 0x100,
+       TEXT_MAXWORD = 10
+};
+int text_load(char *buf, int length, char **text);
+int word_load(char *buf, char **text);
+int value_get(const char *str, long *val);
+
+enum{
+       OPERATOR_PLUS,
+       OPERATOR_SHIFT_LEFT,
+       OPERATOR_SHIFT_RIGHT,
+       OPERATOR_AND,
+       OPERATOR_OR,
+       OPERATOR_XOR,
+       OPERATOR_ERROR,
+       OPERATOR_NONE,
+};
+
+int operator_get(char *str);
+#endif