131
135
void UserWarning(const char *format, ...);
132
136
string GetUsefulPath(const string systemPath, const string relativePath);
136
138
string ParseHostLabel(const string &label, unsigned short *port, bool *secure);
137
139
string GetHostLabel(const string &hostname, unsigned short port, bool secure);
139
142
ClientInfoMap GetClientInfo(const string broker, int port);
140
143
string GetMacAddr(int sock, struct sockaddr_in *addr);
141
144
ClientInfoMap GetNICInfo(const string broker, int port);
142
149
bool EnsureFilePermissions(const char *path, int mode);
147
152
*-----------------------------------------------------------------------------