aboutsummaryrefslogtreecommitdiff
path: root/src/pack.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-12 17:29:05 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-10-12 17:29:05 +0300
commit66f3521c257d2777cbf9697716a9f2288254376c (patch)
treebe3b4993d1b4bb515f67227bd0647dac4dbc08ff /src/pack.h
parent60a356d55ed0aca4283ddc3134298936e45ad18b (diff)
downloadvmod-binlog-66f3521c257d2777cbf9697716a9f2288254376c.tar.gz
vmod-binlog-66f3521c257d2777cbf9697716a9f2288254376c.tar.bz2
Fix processing repeat counts in packinnext.
* src/binlog.c (vmod_start): call packinit. * src/pack.c (packinst) <cur>: New member. (packinnext): Correctly process repeat counts. (packout): Likewise. (packinit): New function. * src/pack.h (packinit): New proto.
Diffstat (limited to 'src/pack.h')
-rw-r--r--src/pack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack.h b/src/pack.h
index 70a2488..36e20ec 100644
--- a/src/pack.h
+++ b/src/pack.h
@@ -30,6 +30,7 @@ struct packinst;
struct packinst *packcomp(const char *s, char **endp);
void packfree(struct packinst *pi);
+struct packinst *packinit(struct packinst *pi);
void packin(struct packinst *pi, struct packenv *env);
void packout(struct packinst *pi, struct packenv *env);
struct packinst *packinnext(struct packinst *pi, struct packenv *env);

Return to:

Send suggestions and report system problems to the System administrator.