chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip past trailing whitespace in str_getword.
[mLib]
/
lbuf.h
diff --git
a/lbuf.h
b/lbuf.h
index 7772885e16f56353515e68fa37a8865a8adf0685..21968e28fd6e371bedf4f73a98cf60da7c9bcb46 100644
(file)
--- a/
lbuf.h
+++ b/
lbuf.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: lbuf.h,v 1.
1 1999/05/14 21:01:1
4 mdw Exp $
+ * $Id: lbuf.h,v 1.
3 1999/12/10 23:42:0
4 mdw Exp $
*
* Block-to-line buffering
*
*
* Block-to-line buffering
*
@@
-30,13
+30,19
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: lbuf.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: lbuf.h,v $
+ * Revision 1.3 1999/12/10 23:42:04 mdw
+ * Change header file guard names.
+ *
+ * Revision 1.2 1999/05/17 20:36:08 mdw
+ * Make the magical constants for the buffer flags uppercase.
+ *
* Revision 1.1 1999/05/14 21:01:14 mdw
* Integrated `select' handling bits from the background resolver project.
*
*/
* Revision 1.1 1999/05/14 21:01:14 mdw
* Integrated `select' handling bits from the background resolver project.
*
*/
-#ifndef LBUF_H
-#define LBUF_H
+#ifndef
MLIB_
LBUF_H
+#define
MLIB_
LBUF_H
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-105,8
+111,8
@@
typedef struct lbuf {
} lbuf;
enum {
} lbuf;
enum {
-
lbuf_cr
= 1, /* Read a carriage return */
-
lbuf_enable
= 2 /* Buffer is currently enabled */
+
LBUF_CR
= 1, /* Read a carriage return */
+
LBUF_ENABLE
= 2 /* Buffer is currently enabled */
};
/*----- Functions provided ------------------------------------------------*/
};
/*----- Functions provided ------------------------------------------------*/