eBPF for Windows
ebpf_store_helper.h
Go to the documentation of this file.
1 // Copyright (c) eBPF for Windows contributors
2 // SPDX-License-Identifier: MIT
3 
4 #pragma once
5 
6 #include "ebpf_program_types.h"
7 #include "ebpf_utilities.h"
8 #include "ebpf_windows.h"
9 
10 #define GUID_STRING_LENGTH 38 // not including the null terminator.
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
17  typedef HKEY ebpf_store_key_t;
18 
21  extern const wchar_t* ebpf_store_root_sub_key;
22 
33  _In_reads_(helper_info_count) ebpf_helper_function_prototype_t* helper_info, uint32_t helper_info_count);
34 
45  _In_reads_(section_info_count) const ebpf_program_section_info_t* section_info, uint32_t section_info_count);
46 
57  _In_reads_(program_info_count) const ebpf_program_info_t* program_info, uint32_t program_info_count);
58 
68 
78 
79 #ifdef __cplusplus
80 }
81 #endif
enum ebpf_result ebpf_result_t
ebpf_result_t ebpf_store_update_section_information(_In_reads_(section_info_count) const ebpf_program_section_info_t *section_info, uint32_t section_info_count)
Update section information in the eBPF store.
ebpf_store_key_t ebpf_store_hkcu_root_key
HKEY ebpf_store_key_t
Definition: ebpf_store_helper.h:17
ebpf_result_t ebpf_store_delete_program_information(const ebpf_program_info_t *program_info)
Delete program information from the eBPF store.
ebpf_store_key_t ebpf_store_hklm_root_key
const wchar_t * ebpf_store_root_sub_key
ebpf_result_t ebpf_store_update_global_helper_information(_In_reads_(helper_info_count) ebpf_helper_function_prototype_t *helper_info, uint32_t helper_info_count)
Update global helper information in the eBPF store.
ebpf_result_t ebpf_store_update_program_information_array(_In_reads_(program_info_count) const ebpf_program_info_t *program_info, uint32_t program_info_count)
Update program information in the eBPF store.
ebpf_result_t ebpf_store_delete_section_information(const ebpf_program_section_info_t *section_info)
Delete section information from the eBPF store.
Definition: ebpf_program_types.h:32
Definition: ebpf_program_types.h:45
Definition: ebpf_program_types.h:112