]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Types which should have quotes
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 23 Jan 2018 23:48:36 +0000 (16:48 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 25 Jan 2018 19:12:20 +0000 (12:12 -0700)
src/include/types.h

index 246297332c082d393fb13b5b75ee57d7a37c5784..1f00832467497caf633efb29eca55f60fcc68b5e 100644 (file)
@@ -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 */