1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00

Kconfig: Expose net/sock/util configurations

This commit is contained in:
Leandro Lanzieri 2019-12-13 12:22:36 +01:00
parent c74fa5367c
commit 047c87d67f
2 changed files with 32 additions and 0 deletions

View File

@ -7,5 +7,6 @@
menu "Networking"
rsource "gnrc/Kconfig"
rsource "sock/Kconfig"
endmenu # Networking

31
sys/net/sock/Kconfig Normal file
View File

@ -0,0 +1,31 @@
# Copyright (c) 2019 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig KCONFIG_MODULE_SOCK_UTIL
bool "Configure SOCK utility functions"
depends on MODULE_SOCK_UTIL
if KCONFIG_MODULE_SOCK_UTIL
config SOCK_SCHEME_MAXLEN
int "Maximum length of the scheme part"
default 16
help
This value is used in sock_urlsplit().
config SOCK_HOSTPORT_MAXLEN
int "Maximum length of host:port part"
default 64
help
This value is used in sock_urlsplit().
config SOCK_URLPATH_MAXLEN
int "Maximum path length"
default 64
help
This value is used in sock_urlsplit().
endif # KCONFIG_MODULE_SOCK_UTIL