mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-21 21:22:31 +03:00
@ -81,11 +81,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool addServiceTxt(char *name, char *proto, char * key, char * value);
|
bool addServiceTxt(char *name, char *proto, char * key, char * value);
|
||||||
void addServiceTxt(const char *name, const char *proto, const char *key,const char * value){
|
bool addServiceTxt(const char *name, const char *proto, const char *key,const char * value){
|
||||||
addServiceTxt((char *)name, (char *)proto, (char *)key, (char *)value);
|
return addServiceTxt((char *)name, (char *)proto, (char *)key, (char *)value);
|
||||||
}
|
}
|
||||||
void addServiceTxt(String name, String proto, String key, String value){
|
bool addServiceTxt(String name, String proto, String key, String value){
|
||||||
addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str());
|
return addServiceTxt(name.c_str(), proto.c_str(), key.c_str(), value.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
int queryService(char *service, char *proto);
|
int queryService(char *service, char *proto);
|
||||||
|
Reference in New Issue
Block a user