A tiny Publish & Subscribe pattern in C