summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-08-30 19:24:21 +0000
committerChristian Grothoff <christian@grothoff.org>2009-08-30 19:24:21 +0000
commit4f64cda2fd1594d6fcb419707e652d0811111086 (patch)
tree0453a103fa43ddbe7363b32168e9bb886a39bcc8 /HACKING
parent53fa6b097734a4545ac4bc02a9f058446434e45f (diff)
clarification
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING7
1 files changed, 7 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 142f83315..5008b49ce 100644
--- a/HACKING
+++ b/HACKING
@@ -27,6 +27,13 @@ exported symbols:
- must start with "GNUNET_modulename_" and be defined in "modulename.c"
- exceptions: those defined in gnunet_common.h
+private (library-internal) symbols (including structs & macros):
+- must NOT start with any prefix
+- must not be exported in a way that linkers could use them or
+ other libraries might see them via headers; they must be either
+ declared/defined in C source files or in headers that are in
+ the respective directory under src/modulename/ and NEVER be
+ declared in src/include/.
testcases:
- must be called "test_module-under-test_case-description.c"