Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
HttpMuxDir.h
Go to the documentation of this file.
1/*
2 * ____ _________ __ _
3 * / __ \___ ____ _/ /_ __(_)___ ___ ___ / / ____ ____ _(_)____
4 * / /_/ / _ \/ __ `/ / / / / / __ `__ \/ _ \/ / / __ \/ __ `/ / ___/
5 * / _, _/ __/ /_/ / / / / / / / / / / / __/ /___/ /_/ / /_/ / / /__
6 * /_/ |_|\___/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_____/\____/\__, /_/\___/
7 * /____/
8 *
9 * Barracuda Embedded Web-Server
10 *
11 ****************************************************************************
12 * HEADER
13 *
14 * $Id: HttpMuxDir.h 5978 2026-09-11 16:13:48Z wini $
15 *
16 * COPYRIGHT: Real Time Logic, 2008
17 *
18 * This software is copyrighted by and is the sole property of Real
19 * Time Logic LLC. All rights, title, ownership, or other interests in
20 * the software remain the property of Real Time Logic LLC. This
21 * software may only be used in accordance with the terms and
22 * conditions stipulated in the corresponding license agreement under
23 * which the software has been supplied. Any unauthorized use,
24 * duplication, transmission, distribution, or disclosure of this
25 * software is expressly forbidden.
26 *
27 * This Copyright notice may not be removed or modified without prior
28 * written consent of Real Time Logic LLC.
29 *
30 * Real Time Logic LLC. reserves the right to modify this software
31 * without notice.
32 *
33 * http://www.realtimelogic.com
34 ****************************************************************************
35 *
36 *
37 */
38
41#ifndef __HttpMuxDir_h
42#define __HttpMuxDir_h
43
44#include <HttpServer.h>
45
46
69typedef struct HttpMuxDir
70#ifdef __cplusplus
71: public HttpDir
72{
87 HttpMuxDir(const char* name,
88 HttpDir* startDir,
89 const char* muxResource,
90 S8 priority=0);
91
92#else
93#if 0
94}
95#endif
96{
97 HttpDir super; /* Inherits from HttpDir */
98#endif
99 HttpDir_Service orgService;
100 HttpDir* startDir;
101 const char* muxResource;
103
104#ifdef __cplusplus
105extern "C" {
106#endif
115 HttpMuxDir* o,
116 const char* name,
117 HttpDir* startDir,
118 const char* muxResource,
119 S8 priority);
120#ifdef __cplusplus
121}
122inline HttpMuxDir::HttpMuxDir(const char* name,
123 HttpDir* startDir,
124 const char* muxResource,
125 S8 priority) {
126 HttpMuxDir_constructor(this,name,startDir,muxResource,priority);
127}
128#endif
129
130#endif
void HttpMuxDir_constructor(HttpMuxDir *o, const char *name, HttpDir *startDir, const char *muxResource, S8 priority)
Initialize a multiplexer; see HttpMuxDir::HttpMuxDir.
HttpMuxDir HttpMuxDir
HttpMuxDir HttpDir Multiplexer captures many resource requests and feeds all resource requests to one...
int(* HttpDir_Service)(struct HttpDir *o, const char *relPath, HttpCommand *cmd)
The HttpDir service callback function.
Definition: HttpServer.h:2747
int8_t S8
Signed 8-bit integer.
Definition: GenPrimT.h:81
An instance of the HttpDir class, which is a collection of zero or more resources,...
Definition: HttpServer.h:2777
HttpMuxDir HttpDir Multiplexer captures many resource requests and feeds all resource requests to one...
Definition: HttpMuxDir.h:72
HttpMuxDir(const char *name, HttpDir *startDir, const char *muxResource, S8 priority=0)
Create an HttpMuxDir instance.
Definition: HttpMuxDir.h:122