/* Need STDC definition when possible for unsigned short argument. */
#ifdef __STDC__
-Code_t ZRetrieveSubscriptions(char *galaxy,
- unsigned short port, int *nsubs)
+Code_t ZRetrieveSubscriptions(unsigned short port, int *nsubs)
#else
-Code_t ZRetrieveSubscriptions(galaxy,port,nsubs)
- ZCONST char *galaxy;
+Code_t ZRetrieveSubscriptions(port,nsubs)
unsigned short port;
int *nsubs;
#endif
notice.z_message = asciiport;
notice.z_message_len = strlen(asciiport)+1;
notice.z_opcode = CLIENT_GIMMESUBS;
- notice.z_dest_galaxy = galaxy;
return(Z_RetSubs(¬ice, nsubs, ZAUTH));
}
-Code_t ZRetrieveDefaultSubscriptions(galaxy, nsubs)
- char *galaxy;
+Code_t ZRetrieveDefaultSubscriptions(nsubs)
int *nsubs;
{
ZNotice_t notice;
notice.z_message = (char *) 0;
notice.z_message_len = 0;
notice.z_opcode = CLIENT_GIMMEDEFS;
- notice.z_dest_galaxy = galaxy;
return(Z_RetSubs(¬ice, nsubs, ZNOAUTH));