acl/lib_acl/include/net/acl_host_port.h
zsxxsz cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00

26 lines
409 B
C

#ifndef __ACL_HOST_PORT_H_INCLUDED__
#define __ACL_HOST_PORT_H_INCLUDED__
#ifdef __cplusplus
extern "C" {
#endif
#include "stdlib/acl_define.h"
/* External interface. */
/**
* [host]:port, [host]:, [host].
* or
* host:port, host:, host, :port, port.
*/
ACL_API const char *acl_host_port(char *buf, char **host, char *def_host,
char **port, char *def_service);
#ifdef __cplusplus
}
#endif
#endif