Ahaggar: add the sample api-warnings.h file

This file contains some examples of dangerous API usage.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>