Software / code / prosody
Comparison
net/dns.lua @ 2575:8f4d69940132
net.dns: Fixed whitespace/indentation.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Wed, 10 Feb 2010 00:46:04 +0500 |
| parent | 2574:7a12578aadb1 |
| child | 2578:61e5eff54415 |
comparison
equal
deleted
inserted
replaced
| 2574:7a12578aadb1 | 2575:8f4d69940132 |
|---|---|
| 927 | 927 |
| 928 function dns.lookup(...) -- - - - - - - - - - - - - - - - - - - - - lookup | 928 function dns.lookup(...) -- - - - - - - - - - - - - - - - - - - - - lookup |
| 929 return _resolver:lookup(...); | 929 return _resolver:lookup(...); |
| 930 end | 930 end |
| 931 | 931 |
| 932 | |
| 933 function dns.purge(...) -- - - - - - - - - - - - - - - - - - - - - - purge | 932 function dns.purge(...) -- - - - - - - - - - - - - - - - - - - - - - purge |
| 934 return _resolver:purge(...); | 933 return _resolver:purge(...); |
| 935 end | 934 end |
| 936 | 935 |
| 937 function dns.peek(...) -- - - - - - - - - - - - - - - - - - - - - - - peek | 936 function dns.peek(...) -- - - - - - - - - - - - - - - - - - - - - - - peek |
| 940 | 939 |
| 941 function dns.query(...) -- - - - - - - - - - - - - - - - - - - - - - query | 940 function dns.query(...) -- - - - - - - - - - - - - - - - - - - - - - query |
| 942 return _resolver:query(...); | 941 return _resolver:query(...); |
| 943 end | 942 end |
| 944 | 943 |
| 945 function dns.feed(...) -- - - - - - - - - - - - - - - - - - - - - - feed | 944 function dns.feed(...) -- - - - - - - - - - - - - - - - - - - - - - - feed |
| 946 return _resolver:feed(...); | 945 return _resolver:feed(...); |
| 947 end | 946 end |
| 948 | 947 |
| 949 function dns.cancel(...) -- - - - - - - - - - - - - - - - - - - - - - cancel | 948 function dns.cancel(...) -- - - - - - - - - - - - - - - - - - - - - - cancel |
| 950 return _resolver:cancel(...); | 949 return _resolver:cancel(...); |
| 951 end | 950 end |
| 952 | 951 |
| 953 function dns:socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set | 952 function dns:socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set |
| 954 return _resolver:socket_wrapper_set(...); | 953 return _resolver:socket_wrapper_set(...); |