Commit 831e11e8 authored by deuce's avatar deuce
Browse files

Missing changes from previous wordwrap() commit

parent d6d4c993
...@@ -34,11 +34,14 @@ ...@@ -34,11 +34,14 @@
#ifndef _WORDWRAP_H_ #ifndef _WORDWRAP_H_
#define _WORDWRAP_H_ #define _WORDWRAP_H_
#define WORDWRAP_FLAG_QUOTES (1<<0) // Handle quote prefixes
#define WORDWRAP_FLAG_BARELF (1<<1) // Treat bare LFs as a line break
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
char* wordwrap(char* inbuf, int len, int oldlen, BOOL handle_quotes); char* wordwrap(char* inbuf, int len, int oldlen, uint32_t flags);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment