Directories and Files

This section discusses the modules available for μC/HTTP-server, and how they all fit together. A Windows®-based development platform is assumed. The directories and files make references to typical Windows-type directory structures. However, since μC/HTTP-server is available in source form, it can also be used with any ANSI-C compatible compiler/linker and any Operating System.

Below is a summary of all directories and files involved in the µC/HTTP-server module. The ‘<-Cfg’ on the far right indicates that these files are typically copied into the application (i.e., project) directory and edited based on project requirements.

 

\Micrium
    \Software
        \uC-HTTP
			\Common
				http.c
				http.h
			\Server
				\Add-on
					\Auth
						http-s_auth.c
						http-s_auth.h
					\CtrlLayer
						http-s_ctrl_layer_mem.c
						http-s_ctrl_layer_mem.h
						http-s_ctrl_layer_rest_cfg.c
						http-s_ctrl_layer_rest_cfg.h
						http-s_ctrl_layer.c
						http-s_ctrl_layer.h
					\REST
						http-s_rest_mem.c
						http-s_rest_mem.h
                        http-s_rest_hook_cfg.c
	                    http_s_rest_hook_cfg.h
                        http-s_rest.c
						http-s_rest.h
				\Cfg
                	\Template
                    	http-s_cfg.h                     <-Cfg
                    	http-s_instance_cfg.c            <-Cfg
                    	http-s_instance_cfg.h            <-Cfg
            	\Examples
					\Common
                        \HTML
                        \StaticFiles
                    \Basic
						app_basic_http-s_hooks.c
						app_basic_http-s_instance_cfg.c
						app_basic_http-s_instance_cfg.h
						app_basic.c
						app_basic.h
					\CtrlLayer
						app_global_auth_rights_cfg.h
						app_global_ctrl_layer_cfg.c
						app_global_ctrl_layer_cfg.h
						app_global_http-s_instance_cfg.c
						app_global_http-s_instance_cfg.h
						app_global.c
						app_global.h
                    \NoFS
                        app_no_fs_http-s_hooks.c
                        app_no_fs_http-s_instance_cfg.c
                        app_no_fs_http-s_instance_cfg.h
                        app_no_fs.c
                        app_no_fs.h
                    \REST
						app_rest_http-s_instance_cfg.c
						app_rest_http-s_instance_cfg.h
						app_rest.c
						app_rest.h
					\SSL-TLS
						http-s_hooks.c
						http-s_instance_secure_cfg.c
						http-s_instance_secure_cfg.h
						\Certificate-Key
							cert.pem
							key.pem
				\FS
                	\Static
                    	\Cfg
                       		\Template
                            	http-s_fs_static_cfg.h   <-Cfg
                    	http-s_fs_static.c
                    	http-s_fs_static.h
            	\Source
                	http-s.c
                	http-s.h
                    http-s_conn.c
                    http-s_conn.h
                    http-s_mem.c
                	http-s_mem.h
                    http-s_req.c
                    http-s_req.h
                    http-s_resp.c
                    http-s_resp.h
                    http-s_sock.c
                    http-s_sock.h
                    http-s_str.c
                    http-s_str.h
                    http-s_stack.c
                    http-s_stack.h