vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / accelerants / common / ddc_int.h
blob24e02d39866495ecd9f8f335c44b393eb3fe735d
1 /*
2 * Copyright 2003, Thomas Kurschel. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef DDC_INT_H
6 #define DDC_INT_H
9 /*!
10 Part of DDC driver
11 Internal header
15 void _sPrintf(const char *format, ...);
16 // no dprintf in user space, but if you know the trick ;)
18 //bool set_dprintf_enabled(bool); /* returns old enable flag */
20 #define dprintf _sPrintf
22 // don't use variables here as this is a static library
23 // and thus the variables will collide with the main program
24 #define debug_level_flow 2
25 #define debug_level_info 4
26 #define debug_level_error 4
27 #define DEBUG_MSG_PREFIX "DDC "
29 #include "debug_ext.h"
31 #endif // DDC_INT_H