| 26 */ |
26 */ |
| 27 |
27 |
| 28 /* This provides code for connecting to a Gaim socket and communicating with |
28 /* This provides code for connecting to a Gaim socket and communicating with |
| 29 * it. It will eventually be made a library once the core and ui are split. */ |
29 * it. It will eventually be made a library once the core and ui are split. */ |
| 30 |
30 |
| 31 #include <sys/types.h> |
31 #include "internal.h" |
| 32 #include <sys/socket.h> |
|
| 33 #include <sys/un.h> |
32 #include <sys/un.h> |
| 34 #include <unistd.h> |
33 #include <gaim-remote/remote.h> |
| 35 #include "gaim.h" |
|
| 36 #include "remote-socket.h" |
|
| 37 |
34 |
| 38 void |
35 void |
| 39 gaim_remote_session_send_packet(int fd, GaimRemotePacket *p) |
36 gaim_remote_session_send_packet(int fd, GaimRemotePacket *p) |
| 40 { |
37 { |
| 41 int len = sizeof(p->type) + sizeof(p->subtype) + |
38 int len = sizeof(p->type) + sizeof(p->subtype) + |