Update of /cvsroot/netrek/client/netrekxp/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24894/include

Modified Files:
Log Message:
Parsemeta.c changes: Moved initialization of server ip lookup out of the metaping thread into it's own
function, metapinginit().  New server field ip_lookup to track which servers have been looked up.  Call
to metapinginit() if the server window has been resized (i.e. new servers have been added to the server
list).  The ip lookup causes a noticeable delay, thus we only want to do this once the metawindow has
been created, and only for servers we haven't tried already.
Also changed the metawindow size so there are no more blank entries, as new servers will increase 
metawindow size automatically.
Rewrote metasort function to be much cleaner by using memcpy instead of manually swapping all
the server fields.

Index: proto.h
RCS file: /cvsroot/netrek/client/netrekxp/include/proto.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- proto.h	12 Dec 2006 04:47:05 -0000	1.26
+++ proto.h	13 Dec 2006 07:16:28 -0000	1.27
@@ -836,6 +836,7 @@
 void metaaction (W_Event * data);
 void metainput (void);
 #ifdef METAPING
+void metapinginit(void);
 DWORD WINAPI metaPing_thread(void);