You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
2.6 KiB

  1. /* ply-boot-protocol.h - shared language between boot status daemon and client
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2, or (at your option)
  8. * any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  18. * 02111-1307, USA.
  19. *
  20. * Written By: Ray Strode <rstrode@redhat.com>
  21. */
  22. #ifndef PLY_BOOT_PROTOCOL_H
  23. #define PLY_BOOT_PROTOCOL_H
  24. #define PLY_BOOT_PROTOCOL_TRIMMED_ABSTRACT_SOCKET_PATH "/org/freedesktop/plymouthd"
  25. #define PLY_BOOT_PROTOCOL_OLD_ABSTRACT_SOCKET_PATH "/ply-boot-protocol"
  26. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_PING "P"
  27. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_UPDATE "U"
  28. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_CHANGE_MODE "C"
  29. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_SYSTEM_UPDATE "u"
  30. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_SYSTEM_INITIALIZED "S"
  31. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_DEACTIVATE "D"
  32. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_REACTIVATE "r"
  33. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_QUIT "Q"
  34. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_PASSWORD "*"
  35. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_CACHED_PASSWORD "c"
  36. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_QUESTION "W"
  37. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_SHOW_MESSAGE "M"
  38. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_HIDE_MESSAGE "m"
  39. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_KEYSTROKE "K"
  40. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_KEYSTROKE_REMOVE "L"
  41. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_PROGRESS_PAUSE "A"
  42. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_PROGRESS_UNPAUSE "a"
  43. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_SHOW_SPLASH "$"
  44. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_HIDE_SPLASH "H"
  45. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_NEWROOT "R"
  46. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_HAS_ACTIVE_VT "V"
  47. #define PLY_BOOT_PROTOCOL_REQUEST_TYPE_ERROR "!"
  48. #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ACK "\x6"
  49. #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NAK "\x15"
  50. #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER "\x2"
  51. #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_MULTIPLE_ANSWERS "\t"
  52. #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NO_ANSWER "\x5"
  53. #endif /* PLY_BOOT_PROTOCOL_H */
  54. /* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */