proton/url.h

Go to the documentation of this file.
00001 #ifndef PROTON_URL_H
00002 #define PROTON_URL_H 1
00003 
00004 /*
00005  * Licensed to the Apache Software Foundation (ASF) under one
00006  * or more contributor license agreements.  See the NOTICE file
00007  * distributed with this work for additional information
00008  * regarding copyright ownership.  The ASF licenses this file
00009  * to you under the Apache License, Version 2.0 (the
00010  * "License"); you may not use this file except in compliance
00011  * with the License.  You may obtain a copy of the License at
00012  *
00013  *   http://www.apache.org/licenses/LICENSE-2.0
00014  *
00015  * Unless required by applicable law or agreed to in writing,
00016  * software distributed under the License is distributed on an
00017  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00018  * KIND, either express or implied.  See the License for the
00019  * specific language governing permissions and limitations
00020  * under the License.
00021  */
00022 
00023 #include <proton/import_export.h>
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00041 typedef struct pn_url_t pn_url_t;
00042 
00046 PN_DEPRECATED("Use a third-party URL library")
00047 PNX_EXTERN pn_url_t *pn_url(void);
00048 
00067 PN_DEPRECATED("Use a third-party URL library")
00068 PNX_EXTERN pn_url_t *pn_url_parse(const char *url);
00069 
00073 PN_DEPRECATED("Use a third-party URL library")
00074 PNX_EXTERN void pn_url_free(pn_url_t *url);
00075 
00079 PN_DEPRECATED("Use a third-party URL library")
00080 PNX_EXTERN void pn_url_clear(pn_url_t *url);
00081 
00088 PN_DEPRECATED("Use a third-party URL library")
00089 PNX_EXTERN const char *pn_url_str(pn_url_t *url);
00090 
00098 PN_DEPRECATED("Use a third-party URL library")
00099 PNX_EXTERN const char *pn_url_get_scheme(pn_url_t *url);
00100 PN_DEPRECATED("Use a third-party URL library")
00101 PNX_EXTERN const char *pn_url_get_username(pn_url_t *url);
00102 PN_DEPRECATED("Use a third-party URL library")
00103 PNX_EXTERN const char *pn_url_get_password(pn_url_t *url);
00104 PN_DEPRECATED("Use a third-party URL library")
00105 PNX_EXTERN const char *pn_url_get_host(pn_url_t *url);
00106 PN_DEPRECATED("Use a third-party URL library")
00107 PNX_EXTERN const char *pn_url_get_port(pn_url_t *url);
00108 PN_DEPRECATED("Use a third-party URL library")
00109 PNX_EXTERN const char *pn_url_get_path(pn_url_t *url);
00122 PN_DEPRECATED("Use a third-party URL library")
00123 PNX_EXTERN void pn_url_set_scheme(pn_url_t *url, const char *scheme);
00124 PN_DEPRECATED("Use a third-party URL library")
00125 PNX_EXTERN void pn_url_set_username(pn_url_t *url, const char *username);
00126 PN_DEPRECATED("Use a third-party URL library")
00127 PNX_EXTERN void pn_url_set_password(pn_url_t *url, const char *password);
00128 PN_DEPRECATED("Use a third-party URL library")
00129 PNX_EXTERN void pn_url_set_host(pn_url_t *url, const char *host);
00130 PN_DEPRECATED("Use a third-party URL library")
00131 PNX_EXTERN void pn_url_set_port(pn_url_t *url, const char *port);
00132 PN_DEPRECATED("Use a third-party URL library")
00133 PNX_EXTERN void pn_url_set_path(pn_url_t *url, const char *path);
00142 #ifdef __cplusplus
00143 }
00144 #endif
00145 
00146 #endif /* url.h */

Generated on 30 Jul 2020 for Qpid Proton C by  doxygen 1.6.1