home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
inprise
/
JRUNTIME.Z
/
java_net_PlainSocketImpl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-05-08
|
3KB
|
64 lines
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <native.h>
/* Header for class java_net_PlainSocketImpl */
#ifndef _Included_java_net_PlainSocketImpl
#define _Included_java_net_PlainSocketImpl
struct Hjava_io_FileDescriptor;
struct Hjava_net_InetAddress;
#pragma pack(4)
typedef struct Classjava_net_PlainSocketImpl {
struct Hjava_io_FileDescriptor *fd;
struct Hjava_net_InetAddress *address;
long port;
long localport;
long timeout;
#undef java_net_PlainSocketImpl_SOCKS_PROTO_VERS
#define java_net_PlainSocketImpl_SOCKS_PROTO_VERS 4L
#undef java_net_PlainSocketImpl_SOCKS_REPLY_VERS
#define java_net_PlainSocketImpl_SOCKS_REPLY_VERS 4L
#undef java_net_PlainSocketImpl_COMMAND_CONNECT
#define java_net_PlainSocketImpl_COMMAND_CONNECT 1L
#undef java_net_PlainSocketImpl_COMMAND_BIND
#define java_net_PlainSocketImpl_COMMAND_BIND 2L
#undef java_net_PlainSocketImpl_REQUEST_GRANTED
#define java_net_PlainSocketImpl_REQUEST_GRANTED 90L
#undef java_net_PlainSocketImpl_REQUEST_REJECTED
#define java_net_PlainSocketImpl_REQUEST_REJECTED 91L
#undef java_net_PlainSocketImpl_REQUEST_REJECTED_NO_IDENTD
#define java_net_PlainSocketImpl_REQUEST_REJECTED_NO_IDENTD 92L
#undef java_net_PlainSocketImpl_REQUEST_REJECTED_DIFF_IDENTS
#define java_net_PlainSocketImpl_REQUEST_REJECTED_DIFF_IDENTS 93L
#undef java_net_PlainSocketImpl_socksServerProp
#define java_net_PlainSocketImpl_socksServerProp 271L
#undef java_net_PlainSocketImpl_socksPortProp
#define java_net_PlainSocketImpl_socksPortProp 272L
#undef java_net_PlainSocketImpl_socksDefaultPortStr
#define java_net_PlainSocketImpl_socksDefaultPortStr 174L
} Classjava_net_PlainSocketImpl;
HandleTo(java_net_PlainSocketImpl);
#pragma pack()
#ifdef __cplusplus
extern "C" {
#endif
extern void java_net_PlainSocketImpl_socketCreate(struct Hjava_net_PlainSocketImpl *,/*boolean*/ long);
extern void java_net_PlainSocketImpl_socketConnect(struct Hjava_net_PlainSocketImpl *,struct Hjava_net_InetAddress *,long);
extern void java_net_PlainSocketImpl_socketBind(struct Hjava_net_PlainSocketImpl *,struct Hjava_net_InetAddress *,long);
extern void java_net_PlainSocketImpl_socketListen(struct Hjava_net_PlainSocketImpl *,long);
struct Hjava_net_SocketImpl;
extern void java_net_PlainSocketImpl_socketAccept(struct Hjava_net_PlainSocketImpl *,struct Hjava_net_SocketImpl *);
extern long java_net_PlainSocketImpl_socketAvailable(struct Hjava_net_PlainSocketImpl *);
extern void java_net_PlainSocketImpl_socketClose(struct Hjava_net_PlainSocketImpl *);
extern void java_net_PlainSocketImpl_initProto(struct Hjava_net_PlainSocketImpl *);
struct Hjava_lang_Object;
extern void java_net_PlainSocketImpl_socketSetOption(struct Hjava_net_PlainSocketImpl *,long,/*boolean*/ long,struct Hjava_lang_Object *);
extern long java_net_PlainSocketImpl_socketGetOption(struct Hjava_net_PlainSocketImpl *,long);
#ifdef __cplusplus
}
#endif
#endif