- _plugin: plugin definition
- _protocol: structs used in network protocol
- exceptions:
- * GNUNET_config.h --- generated // FIXME: decapitalize
+ * gnunet_config.h --- generated
* platform.h --- first included
* plibc.h --- external library
* gnunet_common.h --- fundamental routines
- 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"
gnunet-service-core
gnunet-daemon-hostlist
gnunet-daemon-topology
-gnunet-service-datastore
gnunet-service-statistics
-gnunet-service-dv
+gnunet-service-datastore
+gnunet-service-datacache
gnunet-service-dht
gnunet-service-fs (or just lib?)
+
+
+
+
+Coding style:
+- GNU guidelines apply
+- declare only one variable per line, so
+
+ int i;
+ int j;
+
+ instead of
+
+ int i,j;
+
+
+
+Build-system:
+
+If you have code that is likely not to compile or build rules you might want to not
+trigger for most developers, use "if HAVE_EXPERIMENTAL" in your Makefile.am. Then
+it is OK to (temporarily) add non-compiling (or known-to-not-port) code.
+
+If you want to compile all testcases but NOT run them, run configure with the
+--enable-test-suppression option.
+
+If you want to obtain code coverage results, run configure with the
+--enable-coverage option and run the coverage.sh script in contrib/.
+