Coding Style

We mostly follow the coding style guidelines of the PulseAudio project. However, there are a few deviations:

  1. Avahi uses GLib style CamelCase names for structs.
  2. Our prefix for functions is avahi_ and not pa_.
  3. We have no pa_assert() counterpart. Use standard libc assert() instead.
  4. We lack a pa_assert_se() counterpart. Use libc assert(), but make sure your code still works when NDEBUG is defined.