#include "dce2_common.h"
#include "framework/module.h"
+#include "framework/base_api.h"
#include "log/messages.h"
const char* dce2_get_policy_name(DCE2_POLICY policy)
dce2_get_policy_name(common.policy));
}
+#ifdef BUILDING_SO
+
+extern const BaseApi* ips_dce_iface;
+extern const BaseApi* ips_dce_opnum;
+extern const BaseApi* ips_dce_stub_data;
+
+SO_PUBLIC const BaseApi* snort_plugins[] =
+{
+ &dce2_tcp_api.base,
+ &dce2_smb_api.base,
+ ips_dce_iface,
+ ips_dce_opnum,
+ ips_dce_stub_data,
+ nullptr
+};
+#else
+
+const BaseApi* sin_dce_tcp = &dce2_tcp_api.base;
+const BaseApi* sin_dce_smb = &dce2_smb_api.base;
+
+#endif
+
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//--------------------------------------------------------------------------
+//-------------------------------------------------------------------------
//dce2_common.h author Rashmi Pitre <rrp@cisco.com>
#include "main/snort_types.h"
#include "framework/module.h"
+#include "framework/inspector.h"
+
+extern const InspectApi dce2_smb_api;
+extern const InspectApi dce2_tcp_api;
#define GID_DCE2 145