diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2017-01-04 18:41:31 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-04 18:41:31 -0200 |
commit | a0baab5f3c041afdb66bbda951a07943b022d4ca (patch) | |
tree | e481f825991151cd164435faeb4b5e1b779526ae /src/unix.c | |
parent | ac3201d62024b397e8d6e3376822176d681811ec (diff) | |
parent | 3a33c37b9ce852d0b3531e82c6ffdb47bb937f0a (diff) | |
download | luasocket-a0baab5f3c041afdb66bbda951a07943b022d4ca.tar.gz luasocket-a0baab5f3c041afdb66bbda951a07943b022d4ca.tar.bz2 luasocket-a0baab5f3c041afdb66bbda951a07943b022d4ca.zip |
Merge pull request #199 from enginix/master
Rename unix.tcp to unix.stream, unix.udp to unix.dgram
Diffstat (limited to 'src/unix.c')
-rw-r--r-- | src/unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,15 +5,15 @@ | |||
5 | #include "lua.h" | 5 | #include "lua.h" |
6 | #include "lauxlib.h" | 6 | #include "lauxlib.h" |
7 | 7 | ||
8 | #include "unixtcp.h" | 8 | #include "unixstream.h" |
9 | #include "unixudp.h" | 9 | #include "unixdgram.h" |
10 | 10 | ||
11 | /*-------------------------------------------------------------------------*\ | 11 | /*-------------------------------------------------------------------------*\ |
12 | * Modules and functions | 12 | * Modules and functions |
13 | \*-------------------------------------------------------------------------*/ | 13 | \*-------------------------------------------------------------------------*/ |
14 | static const luaL_Reg mod[] = { | 14 | static const luaL_Reg mod[] = { |
15 | {"tcp", unixtcp_open}, | 15 | {"stream", unixstream_open}, |
16 | {"udp", unixudp_open}, | 16 | {"dgram", unixdgram_open}, |
17 | {NULL, NULL} | 17 | {NULL, NULL} |
18 | }; | 18 | }; |
19 | 19 | ||