diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2018-02-09 13:08:29 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2018-02-09 13:08:29 +0000 |
commit | d83cbb191355d6a52016dd865bb4fef130dec639 (patch) | |
tree | 0c98660ab8ed273be1184efc5c280dc8eef82c9d /usr/src/common/net/wanboot/parseURL.h | |
parent | be9ad087cc97e02e3d356d4b868c94adf56bd327 (diff) | |
parent | bf5d9f18edeb77c14df996d367853599bdd43fd1 (diff) | |
download | illumos-joyent-d83cbb191355d6a52016dd865bb4fef130dec639.tar.gz |
[illumos-gate merge]
commit bf5d9f18edeb77c14df996d367853599bdd43fd1
9070 Remove wanboot from gate
commit a356818ef9fb10d29d03bcf84f6535092a4efff2
9069 libfru: comparison between pointer and zero character constant
commit cd93da824a7d319a89427338e9055f8e3426b6fe
9066 xdf devices attach hybrid VTOC/EFI label
commit 52f65ab3eff266df424267250ad3b11a31d31b05
9043 ipadm(1M) is misrendering the create-addr subcommand description
commit 41fe9d1ace0a37efcfd9dcbbe786427bf2e9a4b6
8933 libefi: Add definitions and utilities for EFI drivers
commit 4c5582ef5befe9f7cecf33c219b1c314562dff33
8989 Allow IKEV2 pf_key(7P) key management cookies to be updated after set
Conflicts:
usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/Makefile (deleted)
usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/Makefile (deleted)
usr/src/lib/libwanboot/Makefile.com (deleted)
usr/src/lib/Makefile
usr/src/test/os-tests/tests/pf_key/kmc-update.sh
usr/src/uts/common/net/pfkeyv2.h
Diffstat (limited to 'usr/src/common/net/wanboot/parseURL.h')
-rw-r--r-- | usr/src/common/net/wanboot/parseURL.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/usr/src/common/net/wanboot/parseURL.h b/usr/src/common/net/wanboot/parseURL.h deleted file mode 100644 index e5150a6fee..0000000000 --- a/usr/src/common/net/wanboot/parseURL.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* - * Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#ifndef _PARSEURL_H -#define _PARSEURL_H - -#pragma ident "%Z%%M% %I% %E% SMI" - -#include <sys/param.h> - -#ifdef __cplusplus -extern "C" { -#endif - -#define URL_PARSE_SUCCESS (uint_t)0 -#define URL_PARSE_NOMEM (uint_t)1 -#define URL_PARSE_BAD_HOSTPORT (uint_t)2 -#define URL_PARSE_BAD_SCHEME (uint_t)3 -#define URL_PARSE_BAD_ABSPATH (uint_t)4 - -#define URL_DFLT_SRVR_PORT (ushort_t)80 -#define URL_DFLT_HTTPS_SRVR_PORT (ushort_t)443 -#define URL_DFLT_PROXY_PORT (ushort_t)8080 - -#define URL_MAX_STRLEN MAXPATHLEN * 2 -#define URL_MAX_PATHLEN MAXPATHLEN -#define URL_MAX_HOSTLEN 256 - -typedef struct { - char hostname[URL_MAX_HOSTLEN]; - ushort_t port; -} url_hport_t; - -typedef struct { - boolean_t https; - url_hport_t hport; - char abspath[URL_MAX_PATHLEN]; -} url_t; - -extern int url_parse_hostport(const char *, url_hport_t *, ushort_t); -extern int url_parse(const char *, url_t *); - -#ifdef __cplusplus -} -#endif - -#endif /* _PARSEURL_H */ |