int growl_udp( const char *const server,const char *const appname,const char *const notify,const char *const title, const char *const message , const char *const icon , const char *const password , const char *url ) { int rc = growl_udp_register( server , appname , (const char **const)¬ify , 1 , password ); if( rc == 0 ) { rc = growl_udp_notify( server, appname, notify, title, message , password ); } return rc; }
void Growl::Register(const char **const notifications, const int notifications_count , const char *const icon ) { if( protocol == GROWL_TCP ) { growl_tcp_register( server , application , notifications , notifications_count , password , icon ); } else { growl_udp_register( server , application , notifications , notifications_count , password ); } }