aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/net.c
Commit message (Collapse)AuthorAgeFilesLines
* util-src: Remove Lua 5.1 compat macrosKim Alvefur2022-07-011-5/+0
| | | | Part of #1600
* util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all ↵Kim Alvefur2020-06-071-5/+8
| | | | | | | failure conditions Actually just an alias of pushnil, but it does make it more obvious where the failure conditions are, which is good for readability.
* util.net: Fix signedness warning on ARMEmmanuel Gil Peyrot2020-01-301-2/+2
| | | | net.c:87:56: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
* util.*.c: Add static qualifiers everywhereEmmanuel Gil Peyrot2019-12-011-1/+1
|
* net, pposix, signal: Check for redefined defines, fix warnings.Emmanuel Gil Peyrot2018-08-081-0/+3
|
* util.net: Add bindings to inet_ntop and inet_ptonKim Alvefur2017-11-261-0/+63
|
* util-src: Specify size of various tables to be allocatedKim Alvefur2017-03-091-1/+1
|
* util.pposix, configure: Move _GNU_SOURCE macro into source filesKim Alvefur2017-03-011-0/+1
|
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-7/+7
|
* util-src: Make C modules assert that the Lua runtime matches what it was ↵Kim Alvefur2017-01-081-0/+3
| | | | compiled for
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to ↵Kim Alvefur2015-04-261-3/+3
| | | | support 5.1
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches ↵Kim Alvefur2015-04-031-28/+42
| | | | --break-blocks --pad-oper --unpad-paren --add-brackets --align-pointer=type --lineend=linux
* util-src/*.c: Add macro for compiling with Lua 5.2Kim Alvefur2014-09-171-0/+4
|
* util-src/*.c: Don't create globals when loadedKim Alvefur2014-09-161-1/+2
|
* util.net: Fix s2sout on Windows (return 0.0.0.0 and :: instead of an empty list)Kim Alvefur2013-08-301-1/+10
|
* util.net: Fix compilation on Windows (outputs an empty list of addresses for ↵Matthew Wild2013-07-151-4/+4
| | | | now) (tested only in my head)
* util.net: Include missing header needed for successful compiltion on FreeBSDMatthew Wild2013-07-151-0/+1
|
* util.net: Add util.net, containing local_addresses() (removed from LuaSocket ↵Matthew Wild2013-06-181-0/+107
3.0)