nfs: fix rust data type declaration

pull/2787/head
Victor Julien 8 years ago
parent 5153271b87
commit 2a29f79960

@ -27,8 +27,4 @@
void RegisterNFS3UDPParsers(void);
void NFS3UDPParserRegisterTests(void);
/** Opaque Rust types. */
typedef struct NFS3tate_ NFS3State;
typedef struct NFS3Transaction_ NFS3Transaction;
#endif /* __APP_LAYER_NFS3_H__ */

@ -27,8 +27,4 @@
void RegisterNFS3Parsers(void);
void NFS3ParserRegisterTests(void);
/** Opaque Rust types. */
typedef struct NFS3tate_ NFS3State;
typedef struct NFS3Transaction_ NFS3Transaction;
#endif /* __APP_LAYER_NFS3_H__ */

@ -55,6 +55,7 @@
#ifdef HAVE_RUST
#ifdef HAVE_LIBJANSSON
#include "rust.h"
#include "rust-nfs-log-gen.h"
typedef struct LogNFS3FileCtx_ {

@ -50,4 +50,8 @@ typedef struct SuricataFileContext_ {
struct _Store;
typedef struct _Store Store;
/** Opaque Rust types. */
typedef struct NFS3tate_ NFS3State;
typedef struct NFS3Transaction_ NFS3Transaction;
#endif /* !__RUST_H__ */

Loading…
Cancel
Save