Last change
on this file since 413 was 398, checked in by coas-nagasima, 5 years ago |
mbedTLS版Azure IoT Hub接続サンプルのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
241 bytes
|
Line | |
---|
1 | #include <resolv.h>
|
---|
2 |
|
---|
3 | int dn_skipname(const unsigned char *s, const unsigned char *end)
|
---|
4 | {
|
---|
5 | const unsigned char *p;
|
---|
6 | for (p=s; p<end; p++)
|
---|
7 | if (!*p) return p-s+1;
|
---|
8 | else if (*p>=192)
|
---|
9 | if (p+1<end) return p-s+2;
|
---|
10 | else break;
|
---|
11 | return -1;
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.