ocarina/include/error.h
Anna Schumaker 360ebed1fa errors: Rename error codes
Gstreamer includes <errno.h>, which already defines several of these
symbols.  I rename them to avoid namespace collisions.  Perhaps a better
solution would be to use the errno.h definitions directly?

Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
2014-04-06 19:56:57 -04:00

16 lines
304 B
C

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_ERROR_H
#define OCARINA_ERROR_H
enum o_error {
E_AUDIO = 1, /* Audio error */
E_EXIST, /* Requested object does not exist */
E_INVAL, /* Invalid operation requested */
E_IO, /* I/O error */
E_NOTRACK,
};
#endif /* OCARINA_ERROR_H */