Skip to content

Commit

Permalink
* fix, SQL plugins: structs in plugin_common.h now properly included.…
Browse files Browse the repository at this point in the history
… To address Issue pmacct#649
  • Loading branch information
paololucente committed Dec 31, 2022
1 parent 364d096 commit 4a5171b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/mysql_plugin.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
pmacct (Promiscuous mode IP Accounting package)
pmacct is Copyright (C) 2003-2020 by Paolo Lucente
pmacct is Copyright (C) 2003-2022 by Paolo Lucente
*/

/*
Expand All @@ -26,7 +26,7 @@
#include <mysql/mysql.h>
#endif

#include "sql_common.h"
#include "plugin_common.h"

/* prototypes */
void mysql_plugin(int, struct configuration *, void *);
Expand Down
4 changes: 2 additions & 2 deletions src/pgsql_plugin.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
pmacct (Promiscuous mode IP Accounting package)
pmacct is Copyright (C) 2003-2019 by Paolo Lucente
pmacct is Copyright (C) 2003-2022 by Paolo Lucente
*/

/*
Expand All @@ -26,7 +26,7 @@
#define REPROCESS_SPECIFIC 1
#define REPROCESS_BULK 2

#include "sql_common.h"
#include "plugin_common.h"

/* prototypes */
void pgsql_plugin(int, struct configuration *, void *);
Expand Down
4 changes: 2 additions & 2 deletions src/sqlite3_plugin.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
pmacct (Promiscuous mode IP Accounting package)
pmacct is Copyright (C) 2003-2019 by Paolo Lucente
pmacct is Copyright (C) 2003-2022 by Paolo Lucente
*/

/*
Expand All @@ -22,7 +22,7 @@
/* includes */
#include <sqlite3.h>

#include "sql_common.h"
#include "plugin_common.h"

/* prototypes */
void sqlite3_plugin(int, struct configuration *, void *);
Expand Down

0 comments on commit 4a5171b

Please sign in to comment.