#include "websmcphandler.h"
#include "pagelayout_defaults.h"
Defines | |
| #define | CPY_PAGE_LAYOUT_MBR(mbr, default_string) |
| #define | FREE_PAGE_LAYOUT_MBR(mbr, default) if ( (layout) -> mbr ) aw_free( (void *)( (layout) -> mbr ) ) |
| #define | PAGELAYOUT_STRING_DEFAULT CPY_PAGE_LAYOUT_MBR |
| #define | PAGELAYOUT_STRING_DEFAULT FREE_PAGE_LAYOUT_MBR |
Functions | |
| void | aw_websmcphandler_clear_layout (aw_websmcphandler_layout_t *layout) |
| Free resources for layout. | |
| void | aw_websmcphandler_copy_layout (aw_websmcphandler_layout_t *to, aw_websmcphandler_layout_t *from) |
| Copy from one layout to another, applying defaults as necessary. | |
| void | aw_websmcphandler_init_layout (aw_websmcphandler_layout_t *layout) |
| Init resources for layout. | |
|
|
Value: {\
const char *ds = default_string; \
( (to) -> mbr = ( (from) -> mbr )?strdup( (from) -> mbr ):((ds != NULL)?strdup(ds):NULL)); \
}
|
|
|
|
|
|
|
|
|
|
|
|
Free resources for layout. aw_websmcphandler_clear_layout
|
|
||||||||||||
|
Copy from one layout to another, applying defaults as necessary. aw_websmcphandler_copy_layout
|
|
|
Init resources for layout. aw_websmcphandler_init_layout
|