From: Arran Cudbard-Bell Date: Tue, 23 Jan 2018 23:48:36 +0000 (-0700) Subject: Types which should have quotes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92ef6bc3bd80d6539a1b4b2c51df4efa96e5cd4;p=thirdparty%2Ffreeradius-server.git Types which should have quotes --- diff --git a/src/include/types.h b/src/include/types.h index 246297332c0..1f008324674 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -199,4 +199,12 @@ typedef enum { case FR_TYPE_IPV6_ADDR: \ case FR_TYPE_IPV6_PREFIX +/** Types which should be wrapped in double quotes when printed + * + */ +#define FR_TYPE_QUOTED \ + FR_TYPE_STRING: \ + case FR_TYPE_DATE: \ + case FR_TYPE_ABINARY + #endif /* _FR_TYPES_H */