Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

network.h 1.3 KiB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * network.h:
  3. * Part of wiringPiD
  4. * Copyright (c) 2012-2017 Gordon Henderson
  5. ***********************************************************************
  6. * This file is part of wiringPi:
  7. * https://projects.drogon.net/raspberry-pi/wiringpi/
  8. *
  9. * wiringPi is free software: you can redistribute it and/or modify
  10. * it under the terms of the GNU Lesser General Public License as published by
  11. * the Free Software Foundation, either version 3 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * wiringPi is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public License
  20. * along with wiringPi. If not, see <http://www.gnu.org/licenses/>.
  21. ***********************************************************************
  22. */
  23. extern char *getClientIP (void) ;
  24. extern int getResponce (int clientFd) ;
  25. extern int setupServer (int serverPort) ;
  26. extern int sendGreeting (int clientFd) ;
  27. extern int sendChallenge (int clientFd) ;
  28. extern int getResponse (int clientFd) ;
  29. extern int passwordMatch (const char *password) ;
  30. extern void closeServer (int clientFd) ;