2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

compel: Add helpers for hgen bdesc filling

These names are generated by compel hgen, so there's no
need in making callers know them.

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov
2016-11-25 16:20:58 +03:00
committed by Andrei Vagin
parent d6b9f74266
commit bf24eecdf6

View File

@@ -12,4 +12,12 @@ typedef struct {
long value;
} compel_reloc_t;
/*
* Helpers for compel hgen command results. The pref should match
* the -p|--sym-prefix argument value.
*/
#define COMPEL_H_PARASITE_HEAD(pref) pref##__export_parasite_head_start
#define COMPEL_H_PARASITE_CMD(pref) pref##__export_parasite_cmd
#define COMPEL_H_PARASITE_ARGS(pref) pref##__export_parasite_args
#endif