Check-in Number:
|
190 | |
Date: |
2000-Dec-12 14:19:07 (local)
2000-Dec-12 13:19:07 (UTC) |
User: | simons |
Branch: | |
Comment: |
Imported Petidomo 2.2 as found on www.petidomo.com. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/petidomo/libtext/text.h -> 1.1.1.1
*** /dev/null Sat Nov 23 05:28:25 2024
--- - Sat Nov 23 05:28:59 2024
***************
*** 0 ****
--- 1,51 ----
+ /*
+ * $Source: /v/ossp/cvs/ossp-pkg/petidomo/libtext/text.h,v $
+ * $Revision: 1.1.1.1 $
+ * $Date: 2000/12/13 13:19:07 $
+ *
+ * Copyright (C) 1996,97 by CyberSolutions GmbH.
+ * All rights reserved.
+ */
+
+ #ifndef __LIB_TEXT_H__
+ #define __LIB_TEXT_H__ 1
+
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <assert.h>
+ #ifdef DEBUG_DMALLOC
+ # include <dmalloc.h>
+ #endif
+
+ /********** Useful defines and declarations **********/
+
+ #ifndef __HAVE_DEFINED_BOOL__
+ # define __HAVE_DEFINED_BOOL__ 1
+ typedef int bool;
+ #endif
+ #ifndef FALSE
+ # define FALSE (0==1)
+ #endif
+ #ifndef TRUE
+ # define TRUE (1==1)
+ #endif
+
+ enum {
+ TEXT_REGEX_OK = 0,
+ TEXT_REGEX_ERROR,
+ TEXT_REGEX_TRANSFORM_DIDNT_MATCH
+ };
+
+ /********** Structures **********/
+
+
+ /********** Prototypes **********/
+
+ int text_transform_text(char *, const char *, const char *, const char *);
+ bool text_easy_pattern_match(const char * buffer, const char * pattern);
+ void text_wordwrap(char * buffer, unsigned int line_len);
+ char * text_easy_sprintf(const char * fmt, ...);
+ char * text_find_next_line(char *);
+ char * text_find_string(char * buffer, char * string);
+
+ #endif /* !__LIB_TEXT_H__ */
|
|