
/* XXX: for back-compatibility only!!! */

#ifndef __GSK_ACTOR_UDP_H_
#define __GSK_ACTOR_UDP_H_

#include "gskactordatagramsocket.h"

#define gsk_actor_udp_get_type 	        gsk_actor_datagram_socket_get_type
#define GSK_TYPE_ACTOR_UDP		GSK_TYPE_ACTOR_DATAGRAM_SOCKET
#define GSK_ACTOR_UDP                   GSK_ACTOR_DATAGRAM_SOCKET
#define GSK_ACTOR_UDP_CLASS             GSK_ACTOR_DATAGRAM_SOCKET_CLASS
#define GSK_ACTOR_UDP_GET_CLASS(obj)    GSK_ACTOR_DATAGRAM_SOCKET_GET_CLASS
#define GSK_IS_ACTOR_UDP(obj)           GSK_IS_ACTOR_DATAGRAM_SOCKET
#define GSK_IS_ACTOR_UDP_CLASS(klass)   GSK_IS_ACTOR_DATAGRAM_SOCKET_CLASS
#define GskActorUdpPacket               GskActorDatagramSocketPacket

#define gsk_actor_udp_set_socket(actor, socket)			              \
		gsk_actor_datagram_socket (GSK_ACTOR_DATAGRAM_SOCKET (actor), \
					   GSK_DATAGRAM_SOCKET (socket))


/* incompatibilities:
 *
 * - address inside of packet is GskSocketAddress,
 *   not GskSocketAddress,
 *
 */

#endif
