37,721
社区成员
发帖
与我相关
我的任务
分享
/* Declaration of generic filter hndle, which represents a particular filter */
typedef struct fft_Filter_s* fft_FilterHandle;
/*
* create filter
*/
CWRAPPERS_EXPORT fft_FilterHandle FFTAPI fft_Create_Filter();
/*
* check if download is allowed, filter has to be previously configured
*/
CWRAPPERS_EXPORT char FFTAPI fft_Verify_Download_Allowed(fft_FilterHandle pHandle);
@classmethod
def py_fft_create_filter(cls):
fft_create_filter = inter_object.fft_Create_Filter
fft_filter_handle = fft_create_filter()
return fft_filter_handle
@classmethod
def py_fft_verify_download_allowed(cls, p_handle):
fft_verify_download_allowed = inter_object.fft_Verify_Download_Allowed
value = fft_verify_download_allowed(p_handle)
return value
return_value = py_fft_verify_download_allowed(p_filter_handle)