+++ /dev/null
-/*
- * multiplexer daemon
- * declarations
- */
-
-#ifndef MULTIPLEX_H
-#define MULTIPLEX_H
-
-#include "daemons.h"
-
-/*---------- from output.c ----------*/
-
-typedef unsigned long Selector;
-#include "selectors.h"
-
-void sovprintf(Selector sel, const char *fmt, va_list al)
- __attribute__((format(printf,2,0)));
-void soprintf(Selector sel, const char *fmt, ...)
- __attribute__((format(printf,2,3)));
-void sowrite(Selector sel, const char *data, int l);
-
-void serial_transmit(const PicInsn *pi);
-
-void output_hex(Selector sel, const char *work,
- const Byte *command, int length);
-
-
-
-
- unredacted
-
-struct ClientList { Client *head, *tail; };
-extern struct ClientList clients;
-
-struct Client {
- CommandInput ci;
- Client *back, *next;
- Selector sel;
-};
-
-
-
-
-#endif /*MULTIPLEX_H*/