- Forked from Godot Engine 4.7-dev (MIT License) - Rebranded to AeThex Engine with cyan/purple theme - Added AI-powered development assistant module - Integrated Claude API for code completion & error fixing - Custom hexagon logo and branding - Multi-platform CI/CD (Windows, Linux, macOS) - Built Linux editor binary (151MB) - Complete source code with all customizations Tech Stack: - C++ game engine core - AI Module: Claude 3.5 Sonnet integration - Build: SCons, 14K+ source files - License: MIT (Godot) + Custom (AeThex features) Ready for Windows build via GitHub Actions!
54 lines
1.8 KiB
C++
54 lines
1.8 KiB
C++
/* $Id: miniwget.h,v 1.14 2025/02/08 23:15:17 nanard Exp $ */
|
|
/* Project : miniupnp
|
|
* Author : Thomas Bernard
|
|
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
|
* Copyright (c) 2005-2025 Thomas Bernard
|
|
* This software is subject to the conditions detailed in the
|
|
* LICENCE file provided in this distribution.
|
|
* */
|
|
#ifndef MINIWGET_H_INCLUDED
|
|
#define MINIWGET_H_INCLUDED
|
|
|
|
/*! \file miniwget.h
|
|
* \brief Lightweight HTTP client API
|
|
*/
|
|
#include "miniupnpc_declspec.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*! \brief perform HTTP GET on an URL
|
|
*
|
|
* \param[in] url HTTP URL to GET
|
|
* \param[out] size length of the returned buffer. -1 in case of memory
|
|
* allocation error
|
|
* \param[in] scope_id interface id for IPv6 to use if not specified in the URL
|
|
* \param[out] status_code HTTP response status code (200, 404, etc.)
|
|
* \return the body of the HTTP response
|
|
*/
|
|
MINIUPNP_LIBSPEC void * miniwget(const char * url, int * size,
|
|
unsigned int scope_id, int * status_code);
|
|
|
|
/*! \brief perform HTTP GET on an URL
|
|
*
|
|
* Also get the local address used to reach the HTTP server
|
|
*
|
|
* \param[in] url HTTP URL to GET
|
|
* \param[out] size length of the returned buffer. -1 in case of memory
|
|
* allocation error
|
|
* \param[out] addr local address used to connect to the server
|
|
* \param[in] addrlen size of the addr buffer
|
|
* \param[in] scope_id interface id for IPv6 to use if not specified in the URL
|
|
* \param[out] status_code HTTP response status code (200, 404, etc.)
|
|
* \return the body of the HTTP response
|
|
*/
|
|
MINIUPNP_LIBSPEC void * miniwget_getaddr(const char * url, int * size,
|
|
char * addr, int addrlen,
|
|
unsigned int scope_id, int * status_code);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|