|
i3
|

Go to the source code of this file.
Enumerations | |
| enum | json_content_t { JSON_CONTENT_UNKNOWN = 0, JSON_CONTENT_CON = 1, JSON_CONTENT_WORKSPACE = 2 } |
Functions | |
| json_content_t | json_determine_content (const char *filename) |
| void | tree_append_json (Con *con, const char *filename, char **errormsg) |
| enum json_content_t |
| Enumerator | |
|---|---|
| JSON_CONTENT_UNKNOWN | |
| JSON_CONTENT_CON | |
| JSON_CONTENT_WORKSPACE | |
Definition at line 13 of file load_layout.h.
| json_content_t json_determine_content | ( | const char * | filename | ) |
Definition at line 454 of file load_layout.c.
References content_result, DLOG, ELOG, JSON_CONTENT_CON, JSON_CONTENT_UNKNOWN, json_determine_content_deeper(), json_determine_content_shallower(), json_determine_content_string(), json_key(), and smalloc().
Referenced by cmd_append_layout().

| void tree_append_json | ( | Con * | con, |
| const char * | filename, | ||
| char ** | errormsg | ||
| ) |
Definition at line 511 of file load_layout.c.
References con_fix_percent(), con_focus(), DLOG, ELOG, json_bool(), json_double(), json_end_array(), json_end_map(), json_int(), json_key(), json_string(), parsing_deco_rect, parsing_focus, parsing_geometry, parsing_rect, parsing_swallows, parsing_window_rect, smalloc(), and sstrdup().
Referenced by cmd_append_layout(), and tree_restore().

1.8.9.1