Mercurial > pidgin
comparison plugins/gaim-remote/remote-socket.c @ 5872:059d95c67cda
[gaim-migrate @ 6304]
The legendary Header File Cleanup! Files now only include what they need.
This should reduce the number of files that must recompile when a header
file changes. It's a lot nicer. Trust me on it. I also added a couple new
header files. I hope I didn't break TOO much!
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 14 Jun 2003 23:21:02 +0000 |
| parents | 022786c7ab53 |
| children | 5239a3b4ab33 |
comparison
equal
deleted
inserted
replaced
| 5871:508adf90fbb9 | 5872:059d95c67cda |
|---|---|
| 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) + |
