]> git.cworth.org Git - loudgame/blobdiff - loudgame.h
Implement simple show, hint, and shuffle commands for lg-set.
[loudgame] / loudgame.h
index a65f5dd6aa38fce3dc546bd3d3af0e6710edf355..11e74df5fde3456b23858b21229797de8aa2f94b 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef __LOUDGAME_H__
 #define __LOUDGAME_H__
 
+#include <stdarg.h>
 #include <loudmouth/loudmouth.h>
 
 typedef struct _loudgame loudgame_t;
@@ -51,6 +52,18 @@ loudgame_send (loudgame_t    *lg,
               const char       *peer,
               const char       *message);
 
+void
+loudgame_sendf (loudgame_t     *lg,
+               const char      *peer,
+               const char      *format,
+               ...);
+
+void
+loudgame_vsendf (loudgame_t    *lg,
+                const char     *peer,
+                const char     *format,
+                va_list         va);
+
 void
 loudgame_quit (loudgame_t *lg, int return_value);