Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 709 Bytes

DATATYPES.markdown

File metadata and controls

20 lines (17 loc) · 709 Bytes

Data Types

Recli supports a few standard datatypes.

BOOLEAN      0, 1, yes, no, true, false
HOSTNAME	 DNS host name
INTEGER      signed integer
IPADDR       IPv4 or IPv6 address
IPV4ADDR     IPv4 address
IPV6ADDR     IPv6 address
IPV4PREFIX	 IPv4 address with prefix (full dotted quad / prefix)
IPV6PREFIX	 IPv6 address with prefix
IPPREFIX	 IPv4 or IPv6 prefix
MACADDR      Ethernet (MAC) address (00:01:02:03:04:05)
STRING       Quoted string ("foo", or 'foo', or foo)
  DQSTRING   Double-quoted string "foo"
  SQSTRING   Single-quoted string 'foo'
  BQSTRING   Back-quoted string `foo`

These data types can be extended by editing "datatypes.c".