From: Enrico Scholz Date: Sun, 24 Apr 2005 20:21:28 +0000 (+0000) Subject: utilvserver_listparser_uint*(): added a third 'bool *' arg for the X-Git-Tag: version_0_30_210~245 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c70ac077121b9c49d1e5273ed8d44154bb929c5;p=util-vserver.git 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 --- 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;