Updating built in Io code to use += instead of x = x + y
[io/quag.git] / addons / Socket / source / IoIPAddress.h
bloba8e67fde14909fedf3f4763e00dfc7896792a0e4
1 /*
2 docCopyright("Steve Dekorte", 2002)
3 docLicense("BSD revised")
4 */
6 #ifndef IOADDRESS_DEFINED
7 #define IOADDRESS_DEFINED 1
9 #include "IoObject.h"
10 #include "IoSeq.h"
11 #include "IPAddress.h"
13 #define ISIPADDRESS(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoIPAddress_rawClone)
15 typedef IoObject IoIPAddress;
17 IoIPAddress *IoMessage_locals_addressArgAt_(IoMessage *self, IoObject *locals, int n);
18 IPAddress *IoMessage_locals_rawIPAddressArgAt_(IoMessage *self, IoObject *locals, int n);
20 IoIPAddress *IoIPAddress_proto(void *state);
21 IoIPAddress *IoIPAddress_new(void *state);
22 IoIPAddress *IoIPAddress_rawClone(IoIPAddress *self);
23 void IoIPAddress_free(IoIPAddress *self);
25 IPAddress *IoIPAddress_rawIPAddress(IoIPAddress *self);
27 // ip
29 IoObject *IoIPAddress_setIp(IoIPAddress *self, IoObject *locals, IoMessage *m);
30 IoObject *IoIPAddress_ip(IoIPAddress *self, IoObject *locals, IoMessage *m);
32 // port
34 IoObject *IoIPAddress_setPort(IoIPAddress *self, IoObject *locals, IoMessage *m);
35 IoObject *IoIPAddress_port(IoIPAddress *self, IoObject *locals, IoMessage *m);
37 #endif