mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 07:15:31 +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:
committed by
Andrei Vagin
parent
d6b9f74266
commit
bf24eecdf6
@@ -12,4 +12,12 @@ typedef struct {
|
|||||||
long value;
|
long value;
|
||||||
} compel_reloc_t;
|
} 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
|
#endif
|
||||||
|
Reference in New Issue
Block a user