suricata
rust.h File Reference
#include "rust-context.h"
#include "rust-bindings.h"
Include dependency graph for rust.h:

Go to the source code of this file.

Macros

#define JB_SET_STRING(jb, key, val)   jb_set_formatted((jb), "\"" key "\":\"" val "\"")
 
#define JB_SET_TRUE(jb, key)   jb_set_formatted((jb), "\"" key "\":true")
 
#define JB_SET_FALSE(jb, key)   jb_set_formatted((jb), "\"" key "\":false")
 

Macro Definition Documentation

◆ JB_SET_FALSE

#define JB_SET_FALSE (   jb,
  key 
)    jb_set_formatted((jb), "\"" key "\":false")

Definition at line 27 of file rust.h.

◆ JB_SET_STRING

#define JB_SET_STRING (   jb,
  key,
  val 
)    jb_set_formatted((jb), "\"" key "\":\"" val "\"")

Definition at line 25 of file rust.h.

◆ JB_SET_TRUE

#define JB_SET_TRUE (   jb,
  key 
)    jb_set_formatted((jb), "\"" key "\":true")

Definition at line 26 of file rust.h.