From 83c25d7eb267f866968c7806c4afacf00fdfead5 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 6 Mar 2008 17:58:06 +0100 Subject: * Initial working version of the flash gui - Renamed to goxf - Needs 'sudo' to be enabled to the user without password - Identify and ban piece files while including them in the list - Support for flashing multiple piece files - progressbar and warn/error messages handled - Supports reboot mobo command * Make qmode be functional * Lot of hardcore fixups on squeue_open - Should work now everywhere fine asumid UID 1000 as allowed user - Reduce timeouts - Add push2 method --- src/squeue/squeue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/squeue/squeue.h') diff --git a/src/squeue/squeue.h b/src/squeue/squeue.h index 4730e3d..e027d51 100644 --- a/src/squeue/squeue.h +++ b/src/squeue/squeue.h @@ -22,6 +22,7 @@ struct squeue_t *squeue_open(const char *file, int init); int squeue_close(struct squeue_t *q); void squeue_free(struct squeue_t *q); int squeue_push(struct squeue_t *q, const char *str, int lock); +int squeue_push2(struct squeue_t *q, const char *head, const char *str, int lock); int squeue_pop(struct squeue_t *q); char *squeue_get(struct squeue_t *q, int lock); void squeue_stats(struct squeue_t *q); -- cgit v1.2.3