Skip to content

Instantly share code, notes, and snippets.

@lefred

lefred/01.h Secret

Last active Jan 25, 2022
Embed
What would you like to do?
Extending MySQL using the Component Infrastructure – part 11
#include <mysql/components/services/pfs_plugin_table_service.h>
extern REQUIRES_SERVICE_PLACEHOLDER(pfs_plugin_table);
extern REQUIRES_SERVICE_PLACEHOLDER_AS(pfs_plugin_column_integer_v1, pfs_integer);
extern REQUIRES_SERVICE_PLACEHOLDER_AS(pfs_plugin_column_string_v1, pfs_string);
extern REQUIRES_SERVICE_PLACEHOLDER_AS(pfs_plugin_column_timestamp_v2, pfs_timestamp);
MYSQL_ADD_COMPONENT(viruscan
scan.cc
scan_pfs.cc
MODULE_ONLY
TEST_ONLY
LINK_LIBRARIES clamav
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment