//include //#include //#include //#include //#include #include //#include #ifdef HAVE_NETINET_IN_H #include #endif #ifdef _WIN32 #include #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #ifndef MULTICAST_H #define MULTICAST_H struct multicast_vfo { char *name; double freq; char *mode; int width; int widthLower; int widthUpper; unsigned char rx; // true if in rx mode unsigned char tx; // true in in tx mode }; struct multicast_broadcast { char *ID; struct multicast_vfo **vfo; }; // returns # of bytes sent extern HAMLIB_EXPORT (int) multicast_init(RIG *rig, char *addr, int port); extern HAMLIB_EXPORT (int) multicast_send(RIG *rig, const char *msg, int msglen); extern HAMLIB_EXPORT (int) multicast_stop(RIG *rig); #endif //MULTICAST_H