Loading...
Searching...
No Matches
clif_internal.h File Reference

Internal definitions for CoRE Link format module. More...

Detailed Description

Internal definitions for CoRE Link format module.

Author
Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de

Definition in file clif_internal.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define _P_SIZE(p)   (sizeof(p) - 1)
 
#define LF_PATH_BEGIN_C   '<'
 link format path initial character
 
#define LF_PATH_END_C   '>'
 link format path final character
 
#define LF_LINK_SEPARATOR_C   ','
 link format link separator character
 
#define LF_ATTR_SEPARATOR_C   ';'
 link format attribute separator character
 
#define LF_ATTR_VAL_SEPARATOR_C   '='
 link format attribute value separator character
 

Anchor attribute

#define LF_ATTR_ANCHOR   "anchor"
 attr name
 
#define LF_ATTR_ANCHOR_S   _P_SIZE(LF_ATTR_ANCHOR)
 attr name length
 

Relation type attribute

#define LF_ATTR_REL_TYPE   "rel"
 attr name
 
#define LF_ATTR_REL_TYPE_S   _P_SIZE(LF_ATTR_REL_TYPE)
 attr name length
 

Language attribute

#define LF_ATTR_LANG   "hreflang"
 attr name
 
#define LF_ATTR_LANG_S   _P_SIZE(LF_ATTR_LANG)
 attr name length
 

Media attribute

#define LF_ATTR_MEDIA   "media"
 attr name
 
#define LF_ATTR_MEDIA_S   _P_SIZE(LF_ATTR_MEDIA)
 attr name length
 

Title attribute

#define LF_ATTR_TITLE   "title"
 attr name
 
#define LF_ATTR_TITLE_S   _P_SIZE(LF_ATTR_TITLE)
 attr name length
 

Title extended attribute

#define LF_ATTR_TITLE_EXT   "title*"
 attr name
 
#define LF_ATTR_TITLE_EXT_S   _P_SIZE(LF_ATTR_TITLE_EXT)
 attr name length
 

Type attribute

#define LF_ATTR_TYPE   "type"
 attr name
 
#define LF_ATTR_TYPE_S   _P_SIZE(LF_ATTR_TYPE)
 attr name length
 

Resource type attribute

#define LF_ATTR_RES_TYPE   "rt"
 attr name
 
#define LF_ATTR_RES_TYPE_S   _P_SIZE(LF_ATTR_RES_TYPE)
 attr name length
 

Interface description attribute

#define LF_ATTR_IF_DESC   "if"
 attr name
 
#define LF_ATTR_IF_DESC_S   _P_SIZE(LF_ATTR_IF_DESC)
 attr name length
 

Size attribute

#define LF_ATTR_SIZE   "sz"
 attr name
 
#define LF_ATTR_SIZE_S   _P_SIZE(LF_ATTR_SIZE)
 attr name length
 

Content-format attribute

#define LF_ATTR_CT   "ct"
 attr name
 
#define LF_ATTR_CT_S   _P_SIZE(LF_ATTR_CT)
 attr name length
 

Observable attribute

#define LF_ATTR_OBS   "obs"
 attr name
 
#define LF_ATTR_OBS_S   _P_SIZE(LF_ATTR_OBS)
 attr name length
 

Macro Definition Documentation

◆ _P_SIZE

#define _P_SIZE (   p)    (sizeof(p) - 1)

Definition at line 26 of file clif_internal.h.

◆ LF_ATTR_ANCHOR

#define LF_ATTR_ANCHOR   "anchor"

attr name

Definition at line 58 of file clif_internal.h.

◆ LF_ATTR_ANCHOR_S

#define LF_ATTR_ANCHOR_S   _P_SIZE(LF_ATTR_ANCHOR)

attr name length

Definition at line 59 of file clif_internal.h.

◆ LF_ATTR_CT

#define LF_ATTR_CT   "ct"

attr name

Definition at line 138 of file clif_internal.h.

◆ LF_ATTR_CT_S

#define LF_ATTR_CT_S   _P_SIZE(LF_ATTR_CT)

attr name length

Definition at line 139 of file clif_internal.h.

◆ LF_ATTR_IF_DESC

#define LF_ATTR_IF_DESC   "if"

attr name

Definition at line 122 of file clif_internal.h.

◆ LF_ATTR_IF_DESC_S

#define LF_ATTR_IF_DESC_S   _P_SIZE(LF_ATTR_IF_DESC)

attr name length

Definition at line 123 of file clif_internal.h.

◆ LF_ATTR_LANG

#define LF_ATTR_LANG   "hreflang"

attr name

Definition at line 74 of file clif_internal.h.

◆ LF_ATTR_LANG_S

#define LF_ATTR_LANG_S   _P_SIZE(LF_ATTR_LANG)

attr name length

Definition at line 75 of file clif_internal.h.

◆ LF_ATTR_MEDIA

#define LF_ATTR_MEDIA   "media"

attr name

Definition at line 82 of file clif_internal.h.

◆ LF_ATTR_MEDIA_S

#define LF_ATTR_MEDIA_S   _P_SIZE(LF_ATTR_MEDIA)

attr name length

Definition at line 83 of file clif_internal.h.

◆ LF_ATTR_OBS

#define LF_ATTR_OBS   "obs"

attr name

Definition at line 146 of file clif_internal.h.

◆ LF_ATTR_OBS_S

#define LF_ATTR_OBS_S   _P_SIZE(LF_ATTR_OBS)

attr name length

Definition at line 147 of file clif_internal.h.

◆ LF_ATTR_REL_TYPE

#define LF_ATTR_REL_TYPE   "rel"

attr name

Definition at line 66 of file clif_internal.h.

◆ LF_ATTR_REL_TYPE_S

#define LF_ATTR_REL_TYPE_S   _P_SIZE(LF_ATTR_REL_TYPE)

attr name length

Definition at line 67 of file clif_internal.h.

◆ LF_ATTR_RES_TYPE

#define LF_ATTR_RES_TYPE   "rt"

attr name

Definition at line 114 of file clif_internal.h.

◆ LF_ATTR_RES_TYPE_S

#define LF_ATTR_RES_TYPE_S   _P_SIZE(LF_ATTR_RES_TYPE)

attr name length

Definition at line 115 of file clif_internal.h.

◆ LF_ATTR_SEPARATOR_C

#define LF_ATTR_SEPARATOR_C   ';'

link format attribute separator character

Definition at line 47 of file clif_internal.h.

◆ LF_ATTR_SIZE

#define LF_ATTR_SIZE   "sz"

attr name

Definition at line 130 of file clif_internal.h.

◆ LF_ATTR_SIZE_S

#define LF_ATTR_SIZE_S   _P_SIZE(LF_ATTR_SIZE)

attr name length

Definition at line 131 of file clif_internal.h.

◆ LF_ATTR_TITLE

#define LF_ATTR_TITLE   "title"

attr name

Definition at line 90 of file clif_internal.h.

◆ LF_ATTR_TITLE_EXT

#define LF_ATTR_TITLE_EXT   "title*"

attr name

Definition at line 98 of file clif_internal.h.

◆ LF_ATTR_TITLE_EXT_S

#define LF_ATTR_TITLE_EXT_S   _P_SIZE(LF_ATTR_TITLE_EXT)

attr name length

Definition at line 99 of file clif_internal.h.

◆ LF_ATTR_TITLE_S

#define LF_ATTR_TITLE_S   _P_SIZE(LF_ATTR_TITLE)

attr name length

Definition at line 91 of file clif_internal.h.

◆ LF_ATTR_TYPE

#define LF_ATTR_TYPE   "type"

attr name

Definition at line 106 of file clif_internal.h.

◆ LF_ATTR_TYPE_S

#define LF_ATTR_TYPE_S   _P_SIZE(LF_ATTR_TYPE)

attr name length

Definition at line 107 of file clif_internal.h.

◆ LF_ATTR_VAL_SEPARATOR_C

#define LF_ATTR_VAL_SEPARATOR_C   '='

link format attribute value separator character

Definition at line 52 of file clif_internal.h.

◆ LF_LINK_SEPARATOR_C

#define LF_LINK_SEPARATOR_C   ','

link format link separator character

Definition at line 41 of file clif_internal.h.

◆ LF_PATH_BEGIN_C

#define LF_PATH_BEGIN_C   '<'

link format path initial character

Definition at line 31 of file clif_internal.h.

◆ LF_PATH_END_C

#define LF_PATH_END_C   '>'

link format path final character

Definition at line 36 of file clif_internal.h.