comparison src/protocols/napster/napster.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 46d7ad0dfa26
children 7d385de2f9cd
comparison
equal deleted inserted replaced
5871:508adf90fbb9 5872:059d95c67cda
16 * You should have received a copy of the GNU General Public License 16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software 17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 * 19 *
20 */ 20 */
21 21 #include "internal.h"
22 #include <config.h> 22
23 23 #include "account.h"
24 #ifndef _WIN32
25 #include <netdb.h>
26 #include <unistd.h>
27 #include <netinet/in.h>
28 #include <arpa/inet.h>
29 #include <sys/socket.h>
30 #else
31 #include <winsock.h>
32 #endif
33
34 #include <errno.h>
35 #include <time.h>
36 #include <string.h>
37 #include <stdlib.h>
38 #include <stdio.h>
39 #include <time.h>
40 #include <sys/stat.h>
41 #include "gaim.h"
42 #include "accountopt.h" 24 #include "accountopt.h"
25 #include "conversation.h"
26 #include "debug.h"
43 #include "multi.h" 27 #include "multi.h"
28 #include "notify.h"
44 #include "prpl.h" 29 #include "prpl.h"
45 #include "proxy.h" 30 #include "proxy.h"
46 31 #include "util.h"
47 #ifdef _WIN32 32
48 #include "win32dep.h" 33 /* XXX */
49 #endif 34 #include "gaim.h"
50 35
51 #define NAP_SERVER "64.124.41.187" 36 #define NAP_SERVER "64.124.41.187"
52 #define NAP_PORT 8888 37 #define NAP_PORT 8888
53 38
54 #define NAPSTER_CONNECT_STEPS 2 39 #define NAPSTER_CONNECT_STEPS 2