diff options
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h index 405683fe7..05d74cfe2 100644 --- a/render/box.h +++ b/render/box.h @@ -159,6 +159,7 @@ struct box { unsigned int clone : 1; char *href; /**< Link, or 0. */ + const char *target; /**< Link target, or 0. */ char *title; /**< Title, or 0. */ unsigned int columns; /**< Number of columns for TABLE / TABLE_CELL. */ @@ -233,6 +234,12 @@ struct object_param { struct object_param *next; }; +/** Frame target names (constant pointers to save duplicating the strings many + * times). We convert _blank to _top for user-friendliness. */ +extern const char *TARGET_SELF; +extern const char *TARGET_PARENT; +extern const char *TARGET_TOP; + #define UNKNOWN_WIDTH INT_MAX #define UNKNOWN_MAX_WIDTH INT_MAX |