X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fconf.h;h=11026b7a6fdf7d0bffde4468412e485ee11a12a8;hb=bc5f818d21b7aceaf2c0e263b00aa4295211d8f9;hp=e99d6e3138a42703a949184dee54a3db2fa3993d;hpb=c8ffd6e3b4fc8fd6437c04282c357b2dc290bbbd;p=libucw.git diff --git a/ucw/conf.h b/ucw/conf.h index e99d6e31..11026b7a 100644 --- a/ucw/conf.h +++ b/ucw/conf.h @@ -356,6 +356,12 @@ struct cf_section { /** A section. **/ #define CF_IP(n,p) CF_STATIC(n,p,IP,u32,1) /** Single IPv4 address. **/ #define CF_IP_ARY(n,p,c) CF_STATIC(n,p,IP,u32,c) /** Static array of IP addresses. **/. #define CF_IP_DYN(n,p,c) CF_DYNAMIC(n,p,IP,u32,c) /** Dynamic array of IP addresses. **/ + +/* FIXME: Backwards compatibility only, should not be used at is will be removed soon. */ +#define CF_UNS CF_UINT +#define CF_UNS_ARY CF_UINT_ARY +#define CF_UNS_DYN CF_UINT_DYN + /** * A string. * You provide a pointer to a `char *` variable and it will fill it with