From ce04c33d8b20c20aff73b45348b6769f80ce6e6f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 18 Sep 2017 11:27:13 -0700 Subject: socket-util: Make parse_bracketed_token() public, as inet_parse_token(). An upcoming commit will introduce a new user outside socket-util. Signed-off-by: Ben Pfaff Acked-by: Russell Bryant --- lib/socket-util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/socket-util.h') diff --git a/lib/socket-util.h b/lib/socket-util.h index 1782745fa..873a59a3f 100644 --- a/lib/socket-util.h +++ b/lib/socket-util.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc. + * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ int check_connection_completion(int fd); void drain_fd(int fd, size_t n_packets); ovs_be32 guess_netmask(ovs_be32 ip); +char *inet_parse_token(char **); bool inet_parse_active(const char *target, uint16_t default_port, struct sockaddr_storage *ssp); int inet_open_active(int style, const char *target, uint16_t default_port, -- cgit v1.2.1