00001 00002 /* 00003 * Copyright (C) 2005 Sourcefire,Inc. 00004 */ 00005 00006 #ifndef __XLINK2STATE_H__ 00007 #define __XLINK2STATE_H__ 00008 00009 /* SMTP normally runs on port 25 */ 00010 #define SMTP_DEFAULT_SERVER_PORT 25 00011 00012 00013 typedef struct _XLINK2STATE 00014 { 00015 int length; 00016 int alerted; 00017 00018 } XLINK2STATE; 00019 00020 00021 00022 /* Exported functions */ 00023 void XLINK2STATE_Init(void); 00024 void XLINK2STATE_SessionFree(void *); 00025 void XLINK2STATE_Free(void); 00026 void SnortXLINK2STATE(Packet *p); 00027 void XLINK2STATE_ParseArgs(u_char *args); 00028 00029 00030 #endif /* __XLINK2STATE_H__ */