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 >
C/C++ Source or Header  |  1998-05-08  |  3KB  |  64 lines

  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <native.h>
  3. /* Header for class java_net_PlainSocketImpl */
  4.  
  5. #ifndef _Included_java_net_PlainSocketImpl
  6. #define _Included_java_net_PlainSocketImpl
  7. struct Hjava_io_FileDescriptor;
  8. struct Hjava_net_InetAddress;
  9.  
  10. #pragma pack(4)
  11.  
  12. typedef struct Classjava_net_PlainSocketImpl {
  13.     struct Hjava_io_FileDescriptor *fd;
  14.     struct Hjava_net_InetAddress *address;
  15.     long port;
  16.     long localport;
  17.     long timeout;
  18. #undef java_net_PlainSocketImpl_SOCKS_PROTO_VERS
  19. #define java_net_PlainSocketImpl_SOCKS_PROTO_VERS 4L
  20. #undef java_net_PlainSocketImpl_SOCKS_REPLY_VERS
  21. #define java_net_PlainSocketImpl_SOCKS_REPLY_VERS 4L
  22. #undef java_net_PlainSocketImpl_COMMAND_CONNECT
  23. #define java_net_PlainSocketImpl_COMMAND_CONNECT 1L
  24. #undef java_net_PlainSocketImpl_COMMAND_BIND
  25. #define java_net_PlainSocketImpl_COMMAND_BIND 2L
  26. #undef java_net_PlainSocketImpl_REQUEST_GRANTED
  27. #define java_net_PlainSocketImpl_REQUEST_GRANTED 90L
  28. #undef java_net_PlainSocketImpl_REQUEST_REJECTED
  29. #define java_net_PlainSocketImpl_REQUEST_REJECTED 91L
  30. #undef java_net_PlainSocketImpl_REQUEST_REJECTED_NO_IDENTD
  31. #define java_net_PlainSocketImpl_REQUEST_REJECTED_NO_IDENTD 92L
  32. #undef java_net_PlainSocketImpl_REQUEST_REJECTED_DIFF_IDENTS
  33. #define java_net_PlainSocketImpl_REQUEST_REJECTED_DIFF_IDENTS 93L
  34. #undef java_net_PlainSocketImpl_socksServerProp
  35. #define java_net_PlainSocketImpl_socksServerProp 271L
  36. #undef java_net_PlainSocketImpl_socksPortProp
  37. #define java_net_PlainSocketImpl_socksPortProp 272L
  38. #undef java_net_PlainSocketImpl_socksDefaultPortStr
  39. #define java_net_PlainSocketImpl_socksDefaultPortStr 174L
  40. } Classjava_net_PlainSocketImpl;
  41. HandleTo(java_net_PlainSocketImpl);
  42.  
  43. #pragma pack()
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48. extern void java_net_PlainSocketImpl_socketCreate(struct Hjava_net_PlainSocketImpl *,/*boolean*/ long);
  49. extern void java_net_PlainSocketImpl_socketConnect(struct Hjava_net_PlainSocketImpl *,struct Hjava_net_InetAddress *,long);
  50. extern void java_net_PlainSocketImpl_socketBind(struct Hjava_net_PlainSocketImpl *,struct Hjava_net_InetAddress *,long);
  51. extern void java_net_PlainSocketImpl_socketListen(struct Hjava_net_PlainSocketImpl *,long);
  52. struct Hjava_net_SocketImpl;
  53. extern void java_net_PlainSocketImpl_socketAccept(struct Hjava_net_PlainSocketImpl *,struct Hjava_net_SocketImpl *);
  54. extern long java_net_PlainSocketImpl_socketAvailable(struct Hjava_net_PlainSocketImpl *);
  55. extern void java_net_PlainSocketImpl_socketClose(struct Hjava_net_PlainSocketImpl *);
  56. extern void java_net_PlainSocketImpl_initProto(struct Hjava_net_PlainSocketImpl *);
  57. struct Hjava_lang_Object;
  58. extern void java_net_PlainSocketImpl_socketSetOption(struct Hjava_net_PlainSocketImpl *,long,/*boolean*/ long,struct Hjava_lang_Object *);
  59. extern long java_net_PlainSocketImpl_socketGetOption(struct Hjava_net_PlainSocketImpl *,long);
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif
  64.