/* DO NOT EDIT THIS FILE - it is machine generated */
#include <native.h>

#ifndef _Included_java_net_PlainDatagramSocketImpl
#define _Included_java_net_PlainDatagramSocketImpl

#ifdef __cplusplus
extern "C" {
#endif

/* Header for class java_net_PlainDatagramSocketImpl */

typedef struct Classjava_net_PlainDatagramSocketImpl {
  jint localPort;
  struct Hjava_io_FileDescriptor* fd;
  jint timeout;
} Classjava_net_PlainDatagramSocketImpl;
HandleTo(java_net_PlainDatagramSocketImpl);

extern void java_net_PlainDatagramSocketImpl_bind(struct Hjava_net_PlainDatagramSocketImpl*, jint, struct Hjava_net_InetAddress*);
extern void java_net_PlainDatagramSocketImpl_send(struct Hjava_net_PlainDatagramSocketImpl*, struct Hjava_net_DatagramPacket*);
extern jint java_net_PlainDatagramSocketImpl_peek(struct Hjava_net_PlainDatagramSocketImpl*, struct Hjava_net_InetAddress*);
extern void java_net_PlainDatagramSocketImpl_receive(struct Hjava_net_PlainDatagramSocketImpl*, struct Hjava_net_DatagramPacket*);
extern void java_net_PlainDatagramSocketImpl_setTTL(struct Hjava_net_PlainDatagramSocketImpl*, jbyte);
extern jbyte java_net_PlainDatagramSocketImpl_getTTL(struct Hjava_net_PlainDatagramSocketImpl*);
extern void java_net_PlainDatagramSocketImpl_join(struct Hjava_net_PlainDatagramSocketImpl*, struct Hjava_net_InetAddress*);
extern void java_net_PlainDatagramSocketImpl_leave(struct Hjava_net_PlainDatagramSocketImpl*, struct Hjava_net_InetAddress*);
extern void java_net_PlainDatagramSocketImpl_datagramSocketCreate(struct Hjava_net_PlainDatagramSocketImpl*);
extern void java_net_PlainDatagramSocketImpl_datagramSocketClose(struct Hjava_net_PlainDatagramSocketImpl*);
extern void java_net_PlainDatagramSocketImpl_socketSetOption(struct Hjava_net_PlainDatagramSocketImpl*, jint, struct Hjava_lang_Object*);
extern jint java_net_PlainDatagramSocketImpl_socketGetOption(struct Hjava_net_PlainDatagramSocketImpl*, jint);

#ifdef __cplusplus
}
#endif

#endif
