1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Make advertiseServices() private

This commit is contained in:
probonopd 2016-01-16 20:51:08 +01:00
parent 7a35ee4813
commit 160f84a6f6

View File

@ -83,7 +83,6 @@ public:
} }
void enableArduino(uint16_t port, bool auth=false); void enableArduino(uint16_t port, bool auth=false);
size_t advertiseServices(); // advertise all hosted services
void setInstanceName(String name); void setInstanceName(String name);
void setInstanceName(const char * name){ void setInstanceName(const char * name){
@ -105,6 +104,7 @@ private:
uint16_t _getServiceTxtLen(char *name, char *proto); uint16_t _getServiceTxtLen(char *name, char *proto);
void _parsePacket(); void _parsePacket();
void _reply(uint8_t replyMask, char * service, char *proto, uint16_t port); void _reply(uint8_t replyMask, char * service, char *proto, uint16_t port);
size_t advertiseServices(); // advertise all hosted services
}; };
extern MDNSResponder MDNS; extern MDNSResponder MDNS;