]> mj.ucw.cz Git - osdd.git/blobdiff - osd.h
Python: Cleaned up the Python library
[osdd.git] / osd.h
diff --git a/osd.h b/osd.h
index 3c7c5b74cbe89bf535ebb6bee40411a6875ae341..ead489f9a038f5aa5ebd1bb47bc0aa3079e0633e 100644 (file)
--- a/osd.h
+++ b/osd.h
@@ -1,31 +1,9 @@
 /*
- *     On-screen Display Daemon -- Utility Functions
+ *     On-screen Display Daemon -- Client Interface
  *
  *     (c) 2010 Martin Mares <mj@ucw.cz>
  */
 
-#include <inttypes.h>
-
-#define NONRET __attribute__((noreturn))
-#define FORMAT_CHECK(func,i,j) __attribute__((format(func,i,j)))
-
-typedef uint64_t timestamp_t;
-
-/* util.c */
-
-void NONRET FORMAT_CHECK(printf,1,2) die(char *fmt, ...);
-
-#ifdef DEBUG
-#define DBG(f...) printf(f)
-#else
-#define DBG(f...) do { } while(0)
-#endif
-
-void *xmalloc(int size);
-void *xrealloc(void *ptr, int size);
-
-timestamp_t get_current_time(void);
-
 /* client.c */
 
 void osd_init(void);