diff options
Diffstat (limited to 'ml.c')
-rw-r--r-- | ml.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: ml.c,v 1.5 2008/12/04 19:31:57 kristaps Exp $ */ +/* $Id: ml.c,v 1.6 2008/12/05 11:28:17 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -31,6 +31,14 @@ extern size_t strlcpy(char *, const char *, size_t); int +ml_putstring(struct md_mbuf *p, const char *buf, size_t *pos) +{ + + return(ml_nputstring(p, buf, strlen(buf), pos)); +} + + +int ml_nputstring(struct md_mbuf *p, const char *buf, size_t sz, size_t *pos) { |