misc: improve code documentation

Task #6383
pull/9701/head
Liza Opar 2 years ago committed by Victor Julien
parent 54de0450f4
commit 3b1558946d

@ -15,6 +15,12 @@
* 02110-1301, USA. * 02110-1301, USA.
*/ */
/**
* \file
*
* DNP3 protocol implementation
*/
#include "suricata-common.h" #include "suricata-common.h"
#include "suricata.h" #include "suricata.h"
#include "stream.h" #include "stream.h"

@ -15,6 +15,12 @@
* 02110-1301, USA. * 02110-1301, USA.
*/ */
/**
* \file
*
* DNP3 application layer protocol header file
*/
#ifndef __APP_LAYER_DNP3_H__ #ifndef __APP_LAYER_DNP3_H__
#define __APP_LAYER_DNP3_H__ #define __APP_LAYER_DNP3_H__

@ -36,7 +36,11 @@
***************************************************************************/ ***************************************************************************/
/** /**
* Anoop Saldanha <anoopsaldanha@gmail.com> * \file
*
* \author Anoop Saldanha <anoopsaldanha@gmail.com>
*
* APIs from libhtp 0.5.x.
*/ */
#include "suricata-common.h" #include "suricata-common.h"

@ -36,7 +36,11 @@
***************************************************************************/ ***************************************************************************/
/** /**
* Anoop Saldanha <anoopsaldanha@gmail.com> * \file
*
* \author Anoop Saldanha <anoopsaldanha@gmail.com>
*
* APIs from libhtp 0.5.x.
*/ */
#ifndef __APP_LAYER_HTP_LIBHTP__H__ #ifndef __APP_LAYER_HTP_LIBHTP__H__

@ -15,6 +15,11 @@
* 02110-1301, USA. * 02110-1301, USA.
*/ */
/**
* \file
*
* Memory management functions for HTP in the application layer
*/
void HTPParseMemcap(void); void HTPParseMemcap(void);
void *HTPMalloc(size_t size); void *HTPMalloc(size_t size);

@ -15,6 +15,12 @@
* 02110-1301, USA. * 02110-1301, USA.
*/ */
/**
* \file
*
* SMB protocol handling
*/
#include "suricata-common.h" #include "suricata-common.h"
#include "suricata.h" #include "suricata.h"

@ -15,6 +15,12 @@
* 02110-1301, USA. * 02110-1301, USA.
*/ */
/**
* \file
*
* SMB protocol handling
*/
#ifndef __APP_LAYER_SMB_H__ #ifndef __APP_LAYER_SMB_H__
#define __APP_LAYER_SMB_H__ #define __APP_LAYER_SMB_H__

@ -16,8 +16,12 @@
*/ */
/** /**
* \file
*
* \author Victor Julien <victor@inliniac.net> * \author Victor Julien <victor@inliniac.net>
* \author Anoop Saldanha <anoopsaldanha@gmail.com> * \author Anoop Saldanha <anoopsaldanha@gmail.com>
*
* Application layer handling and protocols implementation
*/ */
#ifndef __APP_LAYER_H__ #ifndef __APP_LAYER_H__

Loading…
Cancel
Save