23 static bool IsBuiltinTypeName(
const char *name)
25 const char *builtin[] = {
32 for (
int i = 0;; i++) {
33 if (builtin[i] == NULL) {
36 if (strcmp(builtin[i], name) == 0) {
47 if (strcmp(name, plugin->
name) == 0) {
64 if (IsBuiltinTypeName(plugin->
name)) {
65 SCLogError(
"Eve file type name conflicts with built-in type: %s", plugin->
name);
72 if (strcmp(existing->
name, plugin->
name) == 0) {
73 SCLogError(
"Eve file type name conflicts with previously registered type: %s",