Next: , Up: Writing a Service   [Contents]

4.4.1 Code Placement

New services are placed in their own subdirectory under gnunet/src. This subdirectory should contain the API implementation file SERVICE\_api.c, the description of the client-service protocol SERVICE.h and P2P protocol SERVICE\_protocol.h, the implementation of the service itself gnunet-service-SERVICE.h and several files for tests, including test code and configuration files.