return ret;
}
+/* Compatibility functions for GSocket */
+GSocket *GSocket_new(void)
+{
+ GSocket *newsocket = new GSocket();
+ if(newsocket->IsOk())
+ return newsocket;
+ delete newsocket;
+ return NULL;
+}
+
/*
* -------------------------------------------------------------------------
struct service_entry
{
- char * name ;
+ const char * name ;
unsigned short port ;
- char * protocol ;
+ const char * protocol ;
} ;
typedef struct service_entry service_entry ;