detect-engine-address.[ch] refactoring

remotes/origin/master-1.0.x
Anoop Saldanha 15 years ago committed by Victor Julien
parent 2c0345f55e
commit 47ad1e5b2e

File diff suppressed because it is too large Load Diff

@ -1,3 +1,10 @@
/**
* Copyright (c) 2009 Open Information Security Foundation.
*
* \author Victor Julien
*/
#ifndef __DETECT_ADDRESS_H__
#define __DETECT_ADDRESS_H__
@ -24,12 +31,8 @@ int DetectAddressJoin(DetectEngineCtx *, DetectAddress *, DetectAddress *);
DetectAddress *DetectAddressLookupInHead(DetectAddressHead *, Address *);
DetectAddress *DetectAddressLookupInList(DetectAddress *, DetectAddress *);
/** \brief address only copy of ag */
DetectAddress *DetectAddressCopy(DetectAddress *);
/** \brief debugging: print a detect address */
void DetectAddressPrint(DetectAddress *);
/** \brief compare the address part of two DetectAddress objects */
int DetectAddressCmp(DetectAddress *, DetectAddress *);
#endif /* __DETECT_ADDRESS_H__ */

@ -65,6 +65,7 @@ typedef enum {
SC_NFQ_THREAD_INIT,
SC_ERR_DAEMON,
SC_UNIMPLEMENTED,
SC_ERR_ADDRESS_ENGINE_GENERIC_ERROR,
} SCError;
const char *SCErrorToString(SCError);

Loading…
Cancel
Save