ci: bsds: rebuild packages after reconfiguration
[m6w6/libmemcached] / include / libmemcachedutil-1.0 / pid.h
1 /*
2 +--------------------------------------------------------------------+
3 | libmemcached - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020 Michael Wallner <mike@php.net> |
13 +--------------------------------------------------------------------+
14 */
15
16 #pragma once
17
18 #ifndef _WIN32
19 # include <netdb.h>
20 #endif
21
22 #include <sys/types.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 LIBMEMCACHED_API
29 pid_t libmemcached_util_getpid(const char *hostname, in_port_t port, memcached_return_t *ret);
30
31 LIBMEMCACHED_API
32 pid_t libmemcached_util_getpid2(const char *hostname, in_port_t port, const char *username,
33 const char *password, memcached_return_t *ret);
34
35 #ifdef __cplusplus
36 }
37 #endif