kpal_plugin/constants.rs
1use libc::c_char;
2
3use crate::ffi::Phase;
4
5/// Indicates that an attribute may not be set before plugin initialization.
6pub const ATTRIBUTE_PRE_INIT_FALSE: c_char = 0;
7
8/// Indicates that an attribute may be set before plugin initialization.
9pub const ATTRIBUTE_PRE_INIT_TRUE: c_char = 1;
10
11/// Indicates that the init phase callbacks should be used when interacting with a plugin.
12pub const INIT_PHASE: Phase = 0;
13
14/// Indicates that the run phase callbacks should be used when interacting with a plugin.
15pub const RUN_PHASE: Phase = 1;