| Index: native_client_sdk/src/libraries/nacl_io/host_resolver.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/host_resolver.h b/native_client_sdk/src/libraries/nacl_io/host_resolver.h
|
| index dc37b96f471867909ba272d63cdcf8edabbe1c2e..2647e29a674e270421f7ee0653d15a0d13fc1fa3 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/host_resolver.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/host_resolver.h
|
| @@ -20,17 +20,19 @@ class HostResolver {
|
|
|
| void Init(PepperInterface* ppapi);
|
|
|
| - void freeaddrinfo(struct addrinfo *res);
|
| - int getaddrinfo(const char *node, const char *service,
|
| - const struct addrinfo *hints,
|
| - struct addrinfo **res);
|
| + void freeaddrinfo(struct addrinfo* res);
|
| + int getaddrinfo(const char* node,
|
| + const char* service,
|
| + const struct addrinfo* hints,
|
| + struct addrinfo** res);
|
| struct hostent* gethostbyname(const char* name);
|
| +
|
| private:
|
| void hostent_initialize();
|
| void hostent_cleanup();
|
|
|
| struct hostent hostent_;
|
| - PepperInterface *ppapi_;
|
| + PepperInterface* ppapi_;
|
| sdk_util::SimpleLock gethostbyname_lock_;
|
| };
|
|
|
|
|