Addons updated to new doc format
[io.git] / addons / Socket / source / IoIPAddress.h
blob312b7f6d65eb15b2765736a1345e123d101d3711
1 /*
2 //metadoc copyright Steve Dekorte 2002
3 */
4 //metadoc license BSD revised
5 */
7 #ifndef IOADDRESS_DEFINED
8 #define IOADDRESS_DEFINED 1
10 #include "IoObject.h"
11 #include "IoSeq.h"
12 #include "IPAddress.h"
14 #define ISIPADDRESS(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoIPAddress_rawClone)
16 typedef IoObject IoIPAddress;
18 IoIPAddress *IoMessage_locals_addressArgAt_(IoMessage *self, IoObject *locals, int n);
19 IPAddress *IoMessage_locals_rawIPAddressArgAt_(IoMessage *self, IoObject *locals, int n);
21 IoIPAddress *IoIPAddress_proto(void *state);
22 IoIPAddress *IoIPAddress_new(void *state);
23 IoIPAddress *IoIPAddress_rawClone(IoIPAddress *self);
24 void IoIPAddress_free(IoIPAddress *self);
26 IPAddress *IoIPAddress_rawIPAddress(IoIPAddress *self);
28 // ip
30 IoObject *IoIPAddress_setIp(IoIPAddress *self, IoObject *locals, IoMessage *m);
31 IoObject *IoIPAddress_ip(IoIPAddress *self, IoObject *locals, IoMessage *m);
33 // port
35 IoObject *IoIPAddress_setPort(IoIPAddress *self, IoObject *locals, IoMessage *m);
36 IoObject *IoIPAddress_port(IoIPAddress *self, IoObject *locals, IoMessage *m);
38 #endif