projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move more things in the lib-ui.
[apps/madmutt.git]
/
lib-lib
/
buffer.h
diff --git
a/lib-lib/buffer.h
b/lib-lib/buffer.h
index
41a508f
..
0fc562d
100644
(file)
--- a/
lib-lib/buffer.h
+++ b/
lib-lib/buffer.h
@@
-44,7
+44,7
@@
typedef struct {
char *data; /* pointer to data */
char *dptr; /* current read/write position */
typedef struct {
char *data; /* pointer to data */
char *dptr; /* current read/write position */
- s
ize_t dsize;
/* length of data */
+ s
size_t dsize;
/* length of data */
int destroy; /* destroy `data' when done? */
} BUFFER;
int destroy; /* destroy `data' when done? */
} BUFFER;
@@
-54,7
+54,7
@@
void mutt_buffer_free(BUFFER **);
BUFFER *mutt_buffer_from(BUFFER *, const char *);
int mutt_extract_token(BUFFER *, BUFFER *, int);
BUFFER *mutt_buffer_from(BUFFER *, const char *);
int mutt_extract_token(BUFFER *, BUFFER *, int);
-void mutt_buffer_add(BUFFER *, const char *, size_t);
+void mutt_buffer_add(BUFFER *, const char *, s
s
ize_t);
static inline void mutt_buffer_addstr(BUFFER *b, const char *s) {
mutt_buffer_add(b, s, m_strlen(s));
}
static inline void mutt_buffer_addstr(BUFFER *b, const char *s) {
mutt_buffer_add(b, s, m_strlen(s));
}