From 7c70ac077121b9c49d1e5273ed8d44154bb929c5 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sun, 24 Apr 2005 20:21:28 +0000 Subject: [PATCH] utilvserver_listparser_uint*(): added a third 'bool *' arg for the parser function so that errors can be better propagated git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2036 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/lib/internal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util-vserver/lib/internal.h b/util-vserver/lib/internal.h index fe24f2c..81f9e07 100644 --- a/util-vserver/lib/internal.h +++ b/util-vserver/lib/internal.h @@ -40,14 +40,16 @@ int utilvserver_listparser_uint32(char const *str, size_t len, uint_least32_t *flag, uint_least32_t *mask, uint_least32_t (*func)(char const*, - size_t)) NONNULL((1,5,6,7)); + size_t, bool * + )) NONNULL((1,5,6,7)); int utilvserver_listparser_uint64(char const *str, size_t len, char const **err_ptr, size_t *err_len, uint_least64_t *flag, uint_least64_t *mask, uint_least64_t (*func)(char const*, - size_t)) NONNULL((1,5,6,7)); + size_t, bool * + )) NONNULL((1,5,6,7)); struct Mapping_uint32 { char const * const id; -- 1.8.1.5