[Forensics-changes] [yara] 107/192: Document YR_NAMESPACE structure in C API (#616)

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit 83dcac42a6ca0491dd7b2b85f14592d70e3e392f
Author: Matteo Cafasso <noxdafox at gmail.com>
Date:   Thu Mar 2 18:14:58 2017 +0200

    Document YR_NAMESPACE structure in C API (#616)
    
    It is referenced in Python documentation but not mentioned in the C
    API one.
    
    Signed-off-by: Matteo Cafasso <noxdafox at gmail.com>
---
 docs/capi.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/capi.rst b/docs/capi.rst
index 7b25b09..5200656 100644
--- a/docs/capi.rst
+++ b/docs/capi.rst
@@ -315,6 +315,10 @@ Data structures
     Pointer to a sequence of :c:type:`YR_STRING` structures. To iterate over the
     structures use :c:func:`yr_rule_strings_foreach`.
 
+  .. c:member:: YR_NAMESPACE* ns
+
+    Pointer to a :c:type:`YR_NAMESPACE` structure.
+
 .. c:type:: YR_RULES
 
   Data structure representing a set of compiled rules.
@@ -346,6 +350,14 @@ Data structures
 
       String identifier.
 
+.. c:type:: YR_NAMESPACE
+
+  Data structure representing a rule namespace.
+
+  .. c:member:: const char* name
+
+    Rule namespace.
+
 Functions
 ---------
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list