vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / media / media-add-ons / usb_webcam / CamDebug.h
blobc89ddafe9827d2524ca8f89723b1f48df5be134d
1 /*
2 * Copyright 2004-2008, François Revol, <revol@free.fr>.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _CAM_DEBUG_H
6 #define _CAM_DEBUG_H
8 #include <Debug.h>
10 /* allow overriding ANSI color */
11 #ifndef CD_COL
12 #define CD_COL "34"
13 #endif
15 #define CH "\033[" CD_COL "mWebcam::%s::%s"
16 #define CT "\033[0m\n", __BASE_FILE__, __FUNCTION__
18 #endif