repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/driver/uart.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.931535 | /*
* File : uart.h
* Copyright (C) 2013 - 2016, Espressif Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of version 3 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will ... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | driver/new_uart.c | null | null | null | null | null | null | C | 2026-05-04T18:44:21.932609 | /*
* File : uart.c
* Copyright (C) 2013 - 2016, Espressif Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of version 3 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will ... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/driver/uart_register.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.963731 | /*
* File : uart_register.h
* Copyright (C) 2013 - 2016, Espressif Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of version 3 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/app/encdhcpserver.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.542522 | #ifndef __enc_DHCPS_H__
#define __enc_DHCPS_H__
#define enc_dhcps_router_enabled(offer) ((offer & OFFER_ROUTER) != 0)
#include "dhcpserver_common.h"
extern uint32 enc_dhcps_lease_time;
#define enc_DHCPS_LEASE_TIMER enc_dhcps_lease_time //0x05A0
#define ENCDHCPS_DEBUG 0
void enc_dhcps_start(s... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/ip_route.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.591607 | #ifndef __LWIP_IP_ROUTE_H__
#define __LWIP_IP_ROUTE_H__
#include "lwip/opt.h"
#include "lwip/ip_addr.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MAX_ROUTES 10
struct route_entry {
ip_addr_t ip;
ip_addr_t mask;
ip_addr_t gw;
};
extern struct route_entry ip_rt_table[MAX_ROUTES];
extern int ip_route... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwipopts.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.597612 | /**
* @file
*
* lwIP Options Configuration
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributi... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/debug.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.602059 | /*
* debug.h
*
* Created on: Dec 4, 2014
* Author: Minh
*/
#ifndef USER_DEBUG_H_
#define USER_DEBUG_H_
#if defined(MQTT_DEBUG_ON)
#define MQTT_INFO( format, ... ) os_printf( format, ## __VA_ARGS__ )
#else
#define MQTT_INFO( format, ... )
#endif
#endif /* USER_DEBUG_H_ */
|
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/netif/espenc.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.604639 | #include <lwip/netif.h>
#include <netif/etharp.h>
#define ENC_SW_INTERRUPT 1
err_t enc28j60_link_output(struct netif *netif, struct pbuf *p);
err_t enc28j60_init(struct netif *netif);
struct netif* espenc_init(uint8_t *mac_addr, ip_addr_t *ip, ip_addr_t *mask, ip_addr_t *gw, bool dhcp);
#define log(s, ...)
//#define... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/lwip_napt.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.622673 | #ifndef __LWIP_NAPT_H__
#define __LWIP_NAPT_H__
#include "lwip/opt.h"
#ifdef __cplusplus
extern "C" {
#endif
#if IP_FORWARD
#if IP_NAPT
/* Default size of the tables used for NAPT */
#define IP_NAPT_MAX 512
#define IP_PORTMAP_MAX 32
/* Timeouts in sec for the various protocol types */
#define IP_NAPT_TIMEOUT_MS_TC... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/netif.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.624039 | /*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright ... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/mqtt.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.625798 | /* mqtt.h
*
* Copyright (c) 2014-2015, Tuan PM <tuanpm at live dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/opt.h | null | null | null | null | null | null | C | 2026-05-04T18:44:22.639649 | /**
* @file
*
* lwIP Options Configuration
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributi... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/mqtt_msg.h | null | null | null | null | null | null | C | 2026-05-04T18:44:23.345793 | /*
* File: mqtt_msg.h
* Author: Minh Tuan
*
* Created on July 12, 2014, 1:05 PM
*/
#ifndef MQTT_MSG_H
#define MQTT_MSG_H
#include "user_config.h"
#include "c_types.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Copyright (c) 2014, Stephen Robinson
* All rights reserved.
*
* Redistribution and use in source an... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/proto.h | null | null | null | null | null | null | C | 2026-05-04T18:44:23.346332 | /*
* File: proto.h
* Author: ThuHien
*
* Created on November 23, 2012, 8:57 AM
*/
#ifndef _PROTO_H_
#define _PROTO_H_
#include <stdlib.h>
#include "typedef.h"
#include "ringbuf_mqtt.h"
typedef void(PROTO_PARSE_CALLBACK)();
typedef struct {
U8 *buf;
U16 bufSize;
U16 dataLen;
U8 isEsc;
U8 isBegin;
P... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/mqtt_msg.c | null | null | null | null | null | null | C | 2026-05-04T18:44:23.517520 | /*
* Copyright (c) 2014, Stephen Robinson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/utils.h | null | null | null | null | null | null | C | 2026-05-04T18:44:23.518775 | #ifndef _UTILS_H_
#define _UTILS_H_
#include "c_types.h"
uint32_t ICACHE_FLASH_ATTR UTILS_Atoh(const int8_t *s);
uint8_t ICACHE_FLASH_ATTR UTILS_StrToIP(const int8_t* str, void *ip);
uint8_t ICACHE_FLASH_ATTR UTILS_IsIPV4 (int8_t *str);
#endif
|
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/typedef.h | null | null | null | null | null | null | C | 2026-05-04T18:44:23.541862 | /**
* \file
* Standard Types definition
*/
#ifndef _TYPE_DEF_H_
#define _TYPE_DEF_H_
typedef char I8;
typedef unsigned char U8;
typedef short I16;
typedef unsigned short U16;
typedef long I32;
typedef unsigned long U32;
typedef unsigned long long U64;
#endif
|
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/ringbuf_mqtt.h | null | null | null | null | null | null | C | 2026-05-04T18:44:23.542406 | #ifndef _RING_BUF_MQTT_H_
#define _RING_BUF_MQTT_H_
#include <os_type.h>
#include <stdlib.h>
#include "typedef.h"
typedef struct {
U8* p_o; /**< Original pointer */
U8* volatile p_r; /**< Read pointer */
U8* volatile p_w; /**< Write pointer */
volatile I32 fill_cnt; /**< Number of filled slots */
... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/mqtt.c | null | null | null | null | null | null | C | 2026-05-04T18:44:23.552841 | /* mqtt.c
* Protocol: http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
*
* Copyright (c) 2014-2015, Tuan PM <tuanpm at live dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are m... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/include/queue.h | null | null | null | null | null | null | C | 2026-05-04T18:44:23.554463 | /* str_queue.h --
*
* Copyright (c) 2014-2015, Tuan PM <tuanpm at live dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/proto.c | null | null | null | null | null | null | C | 2026-05-04T18:44:24.034583 | #include "proto.h"
#include "ringbuf_mqtt.h"
I8 ICACHE_FLASH_ATTR PROTO_Init(PROTO_PARSER *parser, PROTO_PARSE_CALLBACK *completeCallback, U8 *buf, U16 bufSize)
{
parser->buf = buf;
parser->bufSize = bufSize;
parser->dataLen = 0;
parser->callback = completeCallback;
parser->isEsc = 0;
return 0;
}
I8 ICACHE... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/bridge.h | null | null | null | null | null | null | C | 2026-05-04T18:44:24.506111 | #ifndef _BRIDGE_H_
#define _BRIDGE_H_
#ifdef REPEATER_MODE
#include "lwip/netif.h"
/* Called once from user_main.c EVENT_STAMODE_GOT_IP when both netifs are ready.
Installs input hooks on both netifs, saves linkoutput pointers for forwarding,
and locks the AP channel to the current STA channel. */
void bridge_... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/config_flash.h | null | null | null | null | null | null | C | 2026-05-04T18:44:24.507839 | #ifndef _CONFIG_FLASH_H_
#define _CONFIG_FLASH_H_
#include "c_types.h"
#include "mem.h"
#include "ets_sys.h"
#include "osapi.h"
#include "gpio.h"
#include "os_type.h"
#include "spi_flash.h"
#include "lwip/app/dhcpserver.h"
#include "lwip/ip_route.h"
#include "user_config.h"
#include "acl.h"
#define FLASH_BLOCK_NO 0x... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/config_flash.c | null | null | null | null | null | null | C | 2026-05-04T18:44:24.508924 | #include "version.h"
#include "user_interface.h"
#include "lwip/ip.h"
#include "lwip/lwip_napt.h"
#include "config_flash.h"
/* From the document 99A-SDK-Espressif IOT Flash RW Operation_v0.2 *
* -------------------------------------------------------------------------*
* Flash is erased sector by sector, w... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/acl.h | null | null | null | null | null | null | C | 2026-05-04T18:44:24.510650 | #ifndef _ACL_H_
#define _ACL_H_
#include "lwip/ip.h"
#include "lwip/pbuf.h"
#define MAX_NO_ACLS 4
#define MAX_ACL_ENTRIES 16
#define ACL_DENY 0x0
#define ACL_ALLOW 0x1
#define ACL_MONITOR 0x2
typedef struct _acl_entry {
uint32_t src;
uint32_t s_mask;
uint32_t dest;
uint32_t d_mask;
uint16_t s_port;
uint16_t... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/bridge.c | null | null | null | null | null | null | C | 2026-05-04T18:44:24.539271 | #include "user_config.h"
#ifdef REPEATER_MODE
#include "bridge.h"
#include "c_types.h"
#include "lwip/def.h"
#include "lwip/netif.h"
#include "lwip/pbuf.h"
#include "lwip/err.h"
#include "osapi.h"
#include "user_interface.h"
#include "sys_time.h"
#include "config_flash.h"
#include "easygpio.h"
extern sysconfig_t con... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/pcap.h | null | null | null | null | null | null | C | 2026-05-04T18:44:24.691431 | #ifndef __PCAP_H__
#define __PCAP_H__
#define PCAP_VERSION_MAJOR 2
#define PCAP_VERSION_MINOR 4
#define PCAP_MAGIC_NUMBER 0xa1b2c3d4
#define LINKTYPE_ETHERNET 1
struct pcap_file_header {
uint32_t magic;
uint16_t version_major;
uint16_t version_minor;
uint32_t thiszone; /* gmt to local correction */
uint32_t sig... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/utils.c | null | null | null | null | null | null | C | 2026-05-04T18:44:25.421039 | /*
* Copyright (c) 2014, Tuan PM
* Email: tuanpm@live.com
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this l... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/ringbuf_mqtt.c | null | null | null | null | null | null | C | 2026-05-04T18:44:25.527743 | /**
* \file
* Ring Buffer library
*/
#include "ringbuf_mqtt.h"
/**
* \brief init a RINGBUF object
* \param r pointer to a RINGBUF object
* \param buf pointer to a byte array
* \param size size of buf
* \return 0 if successfull, otherwise failed
*/
I16 ICACHE_FLASH_ATTR RINGBUF_Init(RINGBUF *r, U8* buf, I32 size)
{... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/ringbuf.h | null | null | null | null | null | null | C | 2026-05-04T18:44:26.043499 | #ifndef INCLUDED_RINGBUF_H
#define INCLUDED_RINGBUF_H
/*
* ringbuf.h - C ring buffer (FIFO) interface.
*
* Written in 2011 by Drew Hess <dhess-src@bothan.net>.
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to
* the public d... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | mqtt/queue.c | null | null | null | null | null | null | C | 2026-05-04T18:44:26.140061 | /* str_queue.c
*
* Copyright (c) 2014-2015, Tuan PM <tuanpm at live dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright no... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/sys_time.c | null | null | null | null | null | null | C | 2026-05-04T18:44:26.156466 | #include "c_types.h"
#include "osapi.h"
typedef union _timer {
uint32_t time_s[2];
uint64_t time_l;
} long_time_t;
static long_time_t time;
static uint32_t old;
uint64_t ICACHE_FLASH_ATTR get_long_systime() {
uint32_t now = system_get_time();
if (now < old) {
time.time_s[1]++;
}
old = now;
time.time_s[0] = no... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/rboot-ota.c | null | null | null | null | null | null | C | 2026-05-04T18:44:26.157755 | //////////////////////////////////////////////////
// rBoot OTA sample code for ESP8266 C API.
// Copyright 2015 Richard A Burton
// richardaburton@gmail.com
// See license.txt for license terms.
// OTA code based on SDK sample from Espressif.
//////////////////////////////////////////////////
#include "user_config.h"... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/rboot-ota.h | null | null | null | null | null | null | C | 2026-05-04T18:44:26.308572 | #ifndef __RBOOT_OTA_H__
#define __RBOOT_OTA_H__
//////////////////////////////////////////////////
// rBoot OTA sample code for ESP8266.
// Copyright 2015 Richard A Burton
// richardaburton@gmail.com
// See license.txt for license terms.
// OTA code based on SDK sample from Espressif.
/////////////////////////////////... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/rboot.h | null | null | null | null | null | null | C | 2026-05-04T18:44:26.309045 | #ifndef __RBOOT_H__
#define __RBOOT_H__
//////////////////////////////////////////////////
// rBoot open source boot loader for ESP8266.
// Copyright 2015 Richard A Burton
// richardaburton@gmail.com
// See license.txt for license terms.
//////////////////////////////////////////////////
#ifdef __cplusplus
extern "C"... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/rboot-api.h | null | null | null | null | null | null | C | 2026-05-04T18:44:26.310029 | #ifndef __RBOOT_API_H__
#define __RBOOT_API_H__
/** @defgroup rboot rBoot API
* @brief rBoot for ESP8266 API allows runtime code to access the rBoot configuration.
* Configuration may be read to use within the main firmware or updated to
* affect next boot behavior.
* @copyright 2... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/rboot-api.c | null | null | null | null | null | null | C | 2026-05-04T18:44:26.310600 | //////////////////////////////////////////////////
// rBoot OTA and config API for ESP8266.
// Copyright 2015 Richard A Burton
// richardaburton@gmail.com
// See license.txt for license terms.
// OTA code based on SDK sample from Espressif.
//////////////////////////////////////////////////
#include <string.h>
#includ... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/sys_time.h | null | null | null | null | null | null | C | 2026-05-04T18:44:27.557280 | #include "c_types.h"
// returns time until boot in us
uint64_t ICACHE_FLASH_ATTR get_long_systime();
// returns lower half of time until boot in us
uint64_t ICACHE_FLASH_ATTR get_low_systime();
// initializes the timer
void init_long_systime();
|
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/user_config_bridge.h | null | null | null | null | null | null | C | 2026-05-04T18:44:27.783772 | #ifndef _USER_CONFIG_BRIDGE_
#define _USER_CONFIG_BRIDGE_
#define REPEATER_MODE 1
#define ACLS 0
#define TOKENBUCKET 0
#define REMOTE_MONITORING 0
#define MQTT_CLIENT 0
#define WPA2_PEAP 0
#define HAVE_ENC28J60 0
#define DAILY_LIMIT 0
#include "user_confi... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/user_config.h | null | null | null | null | null | null | C | 2026-05-04T18:44:27.784323 | #ifndef _USER_CONFIG_
#define _USER_CONFIG_
#define ESP_REPEATER_VERSION "V2.2.17"
#define LOCAL_ACCESS 0x01
#define REMOTE_ACCESS 0x02
#define WIFI_SSID "ssid"
#define WIFI_PASSWORD "password"
#define WIFI_AP_SSID "MyAP"
#define WIFI_AP_PASSWORD "none"
#ifndef MAX_CLIENTS
#define MAX_CLIENTS 8
#endif
#ifn... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/acl.c | null | null | null | null | null | null | C | 2026-05-04T18:44:29.385238 | #include "c_types.h"
#include "mem.h"
#include "ets_sys.h"
#include "osapi.h"
#include "os_type.h"
#include "lwip/ip.h"
#include "lwip/udp.h"
#include "lwip/tcp_impl.h"
#include "netif/etharp.h"
#include "user_interface.h"
#include "string.h"
#include "acl.h"
acl_entry acl[MAX_NO_ACLS][MAX_ACL_ENTRIES];
uint8_t acl_... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | user/ringbuf.c | null | null | null | null | null | null | C | 2026-05-04T18:44:30.548072 | /*
* ringbuf.c - C ring buffer (FIFO) implementation.
*
* Written in 2011 by Drew Hess <dhess-src@bothan.net>.
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to
* the public domain worldwide. This software is distributed with... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/commander/commander.h | null | null | null | null | null | null | C | 2026-05-04T18:44:32.757012 |
//
// commander.h
//
// Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
//
#ifndef COMMANDER_H
#define COMMANDER_H
/*
* Max options that can be defined.
*/
#ifndef COMMANDER_MAX_OPTIONS
#define COMMANDER_MAX_OPTIONS 32
#endif
/*
* Max arguments that can be passed.
*/
#ifndef COMMANDER_MAX_ARGS
#define ... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/copy/copy.c | null | null | null | null | null | null | C | 2026-05-04T18:44:32.815671 | #include <stdio.h>
#include "fs/fs.h"
#include "tinydir/tinydir.h"
#include "copy.h"
#define is_dot_file(file) 0 == strcmp(".", file.name) || 0 == strcmp("..", file.name)
#define check_err(x) if (0 != (err = x)) break;
int copy_file(char *from, char *to)
{
char *content = fs_read(from);
if (!content) {
... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/asprintf/asprintf.h | null | null | null | null | null | null | C | 2026-05-04T18:44:32.820984 |
/**
* `asprintf.h' - asprintf.c
*
* copyright (c) 2014 joseph werle <joseph.werle@gmail.com>
*/
#ifndef HAVE_ASPRINTF
#ifndef ASPRINTF_H
#define ASPRINTF_H 1
#include <stdarg.h>
/**
* Sets `char **' pointer to be a buffer
* large enough to hold the formatted string
* accepting a `va_list' args of variadic
*... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/console-colors/console-colors.h | null | null | null | null | null | null | C | 2026-05-04T18:44:32.822547 | /*
Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions an... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/case/case.h | null | null | null | null | null | null | C | 2026-05-04T18:44:32.832314 |
//
// case.h
//
// Copyright (c) 2014 Stephen Mathieson
// MIT licensed
//
#ifndef CASE_H
#define CASE_H
char *
case_upper(char *);
char *
case_lower(char *);
char *
case_camel(char *);
#endif
|
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/assertion-macros/assertion-macros.h | null | null | null | null | null | null | C | 2026-05-04T18:44:32.839522 |
//
// assertion-macros.h
//
// Copyright (c) 2014 Stephen Mathieson
// MIT licensed
//
#ifndef ASSERTION_MACROS_H
#define ASSERTION_MACROS_H 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int __assert_bail = 0;
static int __assert_failures = 0;
/*
* Bail at first failing assertion
*/
#defi... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/case/case.c | null | null | null | null | null | null | C | 2026-05-04T18:44:32.840721 |
//
// case.c
//
// Copyright (c) 2014 Stephen Mathieson
// MIT licensed
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "case.h"
#define CASE_MODIFIER 0x20
#define CASE_IS_SEP(c) c == '-' || c == '_' || c == ' '
char *
case_upper(char *str) {
for (int i = 0, len = ... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/asprintf/asprintf.c | null | null | null | null | null | null | C | 2026-05-04T18:44:32.844750 |
/**
* `asprintf.c' - asprintf
*
* copyright (c) 2014 joseph werle <joseph.werle@gmail.com>
*/
#ifndef HAVE_ASPRINTF
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include "asprintf.h"
int
asprintf (char **str, const char *fmt, ...) {
int size = 0;
va_list args;
// init variadic argumens
v... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/console-colors/console-colors.c | null | null | null | null | null | null | C | 2026-05-04T18:44:32.859299 | /*
Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions an... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/commander/commander.c | null | null | null | null | null | null | C | 2026-05-04T18:44:32.866297 |
//
// commander.c
//
// Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "commander.h"
/*
* Output error and exit.
*/
static void
error(char *msg) {
fprintf(stderr, "%s\n", msg);
exit(1);
}
/*
* Output command v... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/copy/copy.h | null | null | null | null | null | null | C | 2026-05-04T18:44:33.377917 | #ifndef COPY_DIR_H
#define COPY_DIR_H
/**
* Copies one file
*
* @example copy_file("./dir/file.txt", "./target_dir/file.txt");
* "./target_dir/file.txt" will be created if it doesn't exist
*
* @return 0 on success, -1 otherwise
*/
int copy_file(char *from_path, char *to_path);
/**
* Copies direc... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/debug/debug.h | null | null | null | null | null | null | C | 2026-05-04T18:44:33.405992 |
#ifndef DEBUG_H
#define DEBUG_H 1
#include <stdio.h>
/**
* Debug type.
*/
typedef struct {
const char *name;
int color;
int enabled;
FILE *stream;
} debug_t;
/**
* Output a debugging message from the given `debugger`.
*/
void
debug(debug_t *debugger, const char *fmt, ...);
/**
* Check if a debugger ... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/describe/describe.h | null | null | null | null | null | null | C | 2026-05-04T18:44:33.461909 |
//
// describe.h
//
// Copyright (c) 2013 Stephen Mathieson
// Copyright (c) 2015 Michael Phan-Ba
// MIT licensed
//
#ifndef DESCRIBE_H
#define DESCRIBE_H 1
#include "console-colors/console-colors.h"
#include "assertion-macros/assertion-macros.h"
#define DESCRIBE_VERSION "1.1.0"
#define DESCRIBE_OK "✓"
#defin... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-get-element-by-id/get-element-by-id.c | null | null | null | null | null | null | C | 2026-05-04T18:44:33.466959 |
//
// get-element-by-id.c
//
// Copyright (c) 2014 Stephen Mathieson
// MIT licensed
//
#include <string.h>
#include "get-element-by-id.h"
/**
* Get the first `GumboNode` with the given `id`
* contained with the `document`.
*/
GumboNode *
gumbo_get_element_by_id(const char *id, GumboNode *document) {
if (GUMB... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/debug/debug.c | null | null | null | null | null | null | C | 2026-05-04T18:44:33.468335 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "strdup/strdup.h"
#include "asprintf/asprintf.h"
#include "wildcardcmp/wildcardcmp.h"
#include "debug.h"
/**
* Have we seeded `rand()`?
*/
static int seeded = 0;
/**
* Log format.
*/
#define FMT "\x1B[3%dm... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/fs/fs.c | null | null | null | null | null | null | C | 2026-05-04T18:44:33.472371 |
/**
* fs.c
*
* copyright 2013 - joseph werle <joseph.werle@gmail.com>
*/
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h>
#include <stdio.h>
#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include "fs.h"
void
fs_er... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-get-element-by-id/get-element-by-id.h | null | null | null | null | null | null | C | 2026-05-04T18:44:33.487147 |
//
// get-element-by-id.h
//
// Copyright (c) 2014 Stephen Mathieson
// MIT licensed
//
#ifndef GUMBO_GET_ELEMENT_BY_ID
#define GUMBO_GET_ELEMENT_BY_ID 1
#include "gumbo-parser/gumbo.h"
GumboNode *
gumbo_get_element_by_id(const char *, GumboNode *);
#endif
|
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/fs/fs.h | null | null | null | null | null | null | C | 2026-05-04T18:44:33.488348 | #ifndef FS_H
#define FS_H 1
/**
* fs.h
*
* copyright 2013 - joseph werle <joseph.werle@gmail.com>
*/
#include <stdio.h>
#include <sys/stat.h>
#ifdef _WIN32
#define FS_OPEN_READ "rb"
#define FS_OPEN_WRITE "wb"
#define FS_OPEN_READWRITE "rwb"
#else
#define FS_OPEN_READ "r"
#define FS_OPEN_WRITE "w"
#define FS_OP... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-get-elements-by-tag-name/get-elements-by-tag-name.c | null | null | null | null | null | null | C | 2026-05-04T18:44:33.518857 |
#include <stdlib.h>
#include <string.h>
#include "gumbo-parser/gumbo.h"
#include "list/list.h"
#include "trim/trim.h"
#include "case/case.h"
#define NODE_TYPE_CHECK(node) \
if (GUMBO_NODE_DOCUMENT != node->type \
&& GUMBO_NODE_ELEMENT != node->type) \
return
/**
* Crawl all children of the given ... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-get-elements-by-tag-name/get-elements-by-tag-name.h | null | null | null | null | null | null | C | 2026-05-04T18:44:33.530006 |
#ifndef GUMBO_GET_ELEMENTS_BY_TAG_NAME_H
#define GUMBO_GET_ELEMENTS_BY_TAG_NAME_H 1
#include "list/list.h"
#include "gumbo-parser/gumbo.h"
list_t *
gumbo_get_elements_by_tag_name(const char *, GumboNode *);
#endif
|
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/attribute.h | null | null | null | null | null | null | C | 2026-05-04T18:44:34.030990 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/attribute.c | null | null | null | null | null | null | C | 2026-05-04T18:44:34.055384 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/char_ref.h | null | null | null | null | null | null | C | 2026-05-04T18:44:34.114571 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/gumbo.h | null | null | null | null | null | null | C | 2026-05-04T18:44:34.115888 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/error.h | null | null | null | null | null | null | C | 2026-05-04T18:44:34.117830 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/error.c | null | null | null | null | null | null | C | 2026-05-04T18:44:34.126234 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/parser.h | null | null | null | null | null | null | C | 2026-05-04T18:44:34.140869 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/char_ref.c | null | null | null | null | null | null | C | 2026-05-04T18:44:34.143250 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/insertion_mode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:34.145283 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/string_buffer.c | null | null | null | null | null | null | C | 2026-05-04T18:44:34.188249 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/string_piece.c | null | null | null | null | null | null | C | 2026-05-04T18:44:34.968234 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/tokenizer.h | null | null | null | null | null | null | C | 2026-05-04T18:44:35.056062 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/util.h | null | null | null | null | null | null | C | 2026-05-04T18:44:35.627785 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/vector.c | null | null | null | null | null | null | C | 2026-05-04T18:44:35.687766 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/string_buffer.h | null | null | null | null | null | null | C | 2026-05-04T18:44:35.791399 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/vector.h | null | null | null | null | null | null | C | 2026-05-04T18:44:36.285202 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-text-content/gumbo-text-content.c | null | null | null | null | null | null | C | 2026-05-04T18:44:36.314499 |
#include <stdlib.h>
#include <string.h>
#include "gumbo-parser/gumbo.h"
#include "gumbo-text-content.h"
/**
* Maximum number of text nodes.
*/
#define GUMBO_TEXT_CONTENT_MAX 1024
typedef struct {
const char *nodes[GUMBO_TEXT_CONTENT_MAX];
size_t length;
} text_nodes_t;
/**
* Get a `text_nodes_t` instance of... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-text-content/gumbo-text-content.h | null | null | null | null | null | null | C | 2026-05-04T18:44:36.416350 |
#ifndef GUMBO_TEXT_CONTENT_H
#define GUMBO_TEXT_CONTENT_H 1
#include "gumbo-parser/gumbo.h"
char *
gumbo_text_content(GumboNode *);
#endif
|
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/hash/hash.c | null | null | null | null | null | null | C | 2026-05-04T18:44:36.891824 |
//
// hash.c
//
// Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
//
#include "hash.h"
/*
* Set hash `key` to `val`.
*/
inline void
hash_set(hash_t *self, char *key, void *val) {
int ret;
khiter_t k = kh_put(ptr, self, key, &ret);
kh_value(self, k) = val;
}
/*
* Get hash `key`, or NULL.
*/
inlin... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/hash/hash.h | null | null | null | null | null | null | C | 2026-05-04T18:44:36.950048 |
//
// hash.h
//
// Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
//
#ifndef HASH
#define HASH
#include "khash.h"
// pointer hash
KHASH_MAP_INIT_STR(ptr, void *);
/*
* Hash type.
*/
typedef khash_t(ptr) hash_t;
/*
* Allocate a new hash.
*/
#define hash_new() kh_init(ptr)
/*
* Destroy the hash.
*... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/hash/khash.h | null | null | null | null | null | null | C | 2026-05-04T18:44:36.998613 | /* The MIT License
Copyright (c) 2008, by Attractive Chaos <attractivechaos@aol.co.uk>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limita... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/http-get/http-get.c | null | null | null | null | null | null | C | 2026-05-04T18:44:37.503299 |
//
// http-get.c
//
// Copyright (c) 2013 Stephen Mathieson
// MIT licensed
//
#include <curl/curl.h>
#include <string.h>
#include <stdlib.h>
#include "http-get.h"
/**
* HTTP GET write callback
*/
static size_t http_get_cb(void *contents, size_t size, size_t nmemb, void *userp) {
size_t realsize = size * nmemb;... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/http-get/http-get.h | null | null | null | null | null | null | C | 2026-05-04T18:44:37.665519 |
//
// http-get.h
//
// Copyright (c) 2013 Stephen Mathieson
// MIT licensed
//
#ifndef HTTP_GET_H
#define HTTP_GET_H 1
#include <stdlib.h>
#define HTTP_GET_VERSION "0.4.0"
typedef struct {
char *data;
size_t size;
long status;
int ok;
} http_get_response_t;
http_get_response_t *http_get(const char *);
ht... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/string_piece.h | null | null | null | null | null | null | C | 2026-05-04T18:44:39.735787 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/token_type.h | null | null | null | null | null | null | C | 2026-05-04T18:44:39.766428 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/tokenizer_states.h | null | null | null | null | null | null | C | 2026-05-04T18:44:39.774564 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/tag.c | null | null | null | null | null | null | C | 2026-05-04T18:44:39.785582 | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/utf8.c | null | null | null | null | null | null | C | 2026-05-04T18:44:39.803491 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/utf8.h | null | null | null | null | null | null | C | 2026-05-04T18:44:39.804127 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
clibs/clib | https://github.com/clibs/clib | null | null | null | null | 5,131 | null | null | mit | null | null | null | null | null | null | null | deps/gumbo-parser/util.c | null | null | null | null | null | null | C | 2026-05-04T18:44:40.014000 | // Copyright 2010 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/html.c | null | null | null | null | null | null | C | 2026-05-04T18:44:42.392789 | /*
* Copyright (c) 2009, Natacha Porté
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/buffer.h | null | null | null | null | null | null | C | 2026-05-04T18:44:42.393878 | /*
* Copyright (c) 2008, Natacha Porté
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/html.h | null | null | null | null | null | null | C | 2026-05-04T18:44:42.399990 | /*
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/houdini_href_e.c | null | null | null | null | null | null | C | 2026-05-04T18:44:42.402638 | /*
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/houdini_html_e.c | null | null | null | null | null | null | C | 2026-05-04T18:44:42.405390 | /*
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/autolink.h | null | null | null | null | null | null | C | 2026-05-04T18:44:42.406563 | /*
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/autolink.c | null | null | null | null | null | null | C | 2026-05-04T18:44:42.416371 | /*
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
vmg/redcarpet | https://github.com/vmg/redcarpet | null | null | null | null | 5,076 | null | null | mit | null | null | null | null | null | null | null | ext/redcarpet/houdini.h | null | null | null | null | null | null | C | 2026-05-04T18:44:42.425488 | /*
* Copyright (c) 2015, Vicent Marti
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.