Front end of the Slack clone application.

constants.json 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. {
  2. "O_RDONLY": 0,
  3. "O_WRONLY": 1,
  4. "O_RDWR": 2,
  5. "S_IFMT": 61440,
  6. "S_IFREG": 32768,
  7. "S_IFDIR": 16384,
  8. "S_IFCHR": 8192,
  9. "S_IFBLK": 24576,
  10. "S_IFIFO": 4096,
  11. "S_IFLNK": 40960,
  12. "S_IFSOCK": 49152,
  13. "O_CREAT": 512,
  14. "O_EXCL": 2048,
  15. "O_NOCTTY": 131072,
  16. "O_TRUNC": 1024,
  17. "O_APPEND": 8,
  18. "O_DIRECTORY": 1048576,
  19. "O_NOFOLLOW": 256,
  20. "O_SYNC": 128,
  21. "O_SYMLINK": 2097152,
  22. "O_NONBLOCK": 4,
  23. "S_IRWXU": 448,
  24. "S_IRUSR": 256,
  25. "S_IWUSR": 128,
  26. "S_IXUSR": 64,
  27. "S_IRWXG": 56,
  28. "S_IRGRP": 32,
  29. "S_IWGRP": 16,
  30. "S_IXGRP": 8,
  31. "S_IRWXO": 7,
  32. "S_IROTH": 4,
  33. "S_IWOTH": 2,
  34. "S_IXOTH": 1,
  35. "E2BIG": 7,
  36. "EACCES": 13,
  37. "EADDRINUSE": 48,
  38. "EADDRNOTAVAIL": 49,
  39. "EAFNOSUPPORT": 47,
  40. "EAGAIN": 35,
  41. "EALREADY": 37,
  42. "EBADF": 9,
  43. "EBADMSG": 94,
  44. "EBUSY": 16,
  45. "ECANCELED": 89,
  46. "ECHILD": 10,
  47. "ECONNABORTED": 53,
  48. "ECONNREFUSED": 61,
  49. "ECONNRESET": 54,
  50. "EDEADLK": 11,
  51. "EDESTADDRREQ": 39,
  52. "EDOM": 33,
  53. "EDQUOT": 69,
  54. "EEXIST": 17,
  55. "EFAULT": 14,
  56. "EFBIG": 27,
  57. "EHOSTUNREACH": 65,
  58. "EIDRM": 90,
  59. "EILSEQ": 92,
  60. "EINPROGRESS": 36,
  61. "EINTR": 4,
  62. "EINVAL": 22,
  63. "EIO": 5,
  64. "EISCONN": 56,
  65. "EISDIR": 21,
  66. "ELOOP": 62,
  67. "EMFILE": 24,
  68. "EMLINK": 31,
  69. "EMSGSIZE": 40,
  70. "EMULTIHOP": 95,
  71. "ENAMETOOLONG": 63,
  72. "ENETDOWN": 50,
  73. "ENETRESET": 52,
  74. "ENETUNREACH": 51,
  75. "ENFILE": 23,
  76. "ENOBUFS": 55,
  77. "ENODATA": 96,
  78. "ENODEV": 19,
  79. "ENOENT": 2,
  80. "ENOEXEC": 8,
  81. "ENOLCK": 77,
  82. "ENOLINK": 97,
  83. "ENOMEM": 12,
  84. "ENOMSG": 91,
  85. "ENOPROTOOPT": 42,
  86. "ENOSPC": 28,
  87. "ENOSR": 98,
  88. "ENOSTR": 99,
  89. "ENOSYS": 78,
  90. "ENOTCONN": 57,
  91. "ENOTDIR": 20,
  92. "ENOTEMPTY": 66,
  93. "ENOTSOCK": 38,
  94. "ENOTSUP": 45,
  95. "ENOTTY": 25,
  96. "ENXIO": 6,
  97. "EOPNOTSUPP": 102,
  98. "EOVERFLOW": 84,
  99. "EPERM": 1,
  100. "EPIPE": 32,
  101. "EPROTO": 100,
  102. "EPROTONOSUPPORT": 43,
  103. "EPROTOTYPE": 41,
  104. "ERANGE": 34,
  105. "EROFS": 30,
  106. "ESPIPE": 29,
  107. "ESRCH": 3,
  108. "ESTALE": 70,
  109. "ETIME": 101,
  110. "ETIMEDOUT": 60,
  111. "ETXTBSY": 26,
  112. "EWOULDBLOCK": 35,
  113. "EXDEV": 18,
  114. "SIGHUP": 1,
  115. "SIGINT": 2,
  116. "SIGQUIT": 3,
  117. "SIGILL": 4,
  118. "SIGTRAP": 5,
  119. "SIGABRT": 6,
  120. "SIGIOT": 6,
  121. "SIGBUS": 10,
  122. "SIGFPE": 8,
  123. "SIGKILL": 9,
  124. "SIGUSR1": 30,
  125. "SIGSEGV": 11,
  126. "SIGUSR2": 31,
  127. "SIGPIPE": 13,
  128. "SIGALRM": 14,
  129. "SIGTERM": 15,
  130. "SIGCHLD": 20,
  131. "SIGCONT": 19,
  132. "SIGSTOP": 17,
  133. "SIGTSTP": 18,
  134. "SIGTTIN": 21,
  135. "SIGTTOU": 22,
  136. "SIGURG": 16,
  137. "SIGXCPU": 24,
  138. "SIGXFSZ": 25,
  139. "SIGVTALRM": 26,
  140. "SIGPROF": 27,
  141. "SIGWINCH": 28,
  142. "SIGIO": 23,
  143. "SIGSYS": 12,
  144. "SSL_OP_ALL": 2147486719,
  145. "SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION": 262144,
  146. "SSL_OP_CIPHER_SERVER_PREFERENCE": 4194304,
  147. "SSL_OP_CISCO_ANYCONNECT": 32768,
  148. "SSL_OP_COOKIE_EXCHANGE": 8192,
  149. "SSL_OP_CRYPTOPRO_TLSEXT_BUG": 2147483648,
  150. "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS": 2048,
  151. "SSL_OP_EPHEMERAL_RSA": 0,
  152. "SSL_OP_LEGACY_SERVER_CONNECT": 4,
  153. "SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER": 32,
  154. "SSL_OP_MICROSOFT_SESS_ID_BUG": 1,
  155. "SSL_OP_MSIE_SSLV2_RSA_PADDING": 0,
  156. "SSL_OP_NETSCAPE_CA_DN_BUG": 536870912,
  157. "SSL_OP_NETSCAPE_CHALLENGE_BUG": 2,
  158. "SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG": 1073741824,
  159. "SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG": 8,
  160. "SSL_OP_NO_COMPRESSION": 131072,
  161. "SSL_OP_NO_QUERY_MTU": 4096,
  162. "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION": 65536,
  163. "SSL_OP_NO_SSLv2": 16777216,
  164. "SSL_OP_NO_SSLv3": 33554432,
  165. "SSL_OP_NO_TICKET": 16384,
  166. "SSL_OP_NO_TLSv1": 67108864,
  167. "SSL_OP_NO_TLSv1_1": 268435456,
  168. "SSL_OP_NO_TLSv1_2": 134217728,
  169. "SSL_OP_PKCS1_CHECK_1": 0,
  170. "SSL_OP_PKCS1_CHECK_2": 0,
  171. "SSL_OP_SINGLE_DH_USE": 1048576,
  172. "SSL_OP_SINGLE_ECDH_USE": 524288,
  173. "SSL_OP_SSLEAY_080_CLIENT_DH_BUG": 128,
  174. "SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG": 0,
  175. "SSL_OP_TLS_BLOCK_PADDING_BUG": 512,
  176. "SSL_OP_TLS_D5_BUG": 256,
  177. "SSL_OP_TLS_ROLLBACK_BUG": 8388608,
  178. "ENGINE_METHOD_DSA": 2,
  179. "ENGINE_METHOD_DH": 4,
  180. "ENGINE_METHOD_RAND": 8,
  181. "ENGINE_METHOD_ECDH": 16,
  182. "ENGINE_METHOD_ECDSA": 32,
  183. "ENGINE_METHOD_CIPHERS": 64,
  184. "ENGINE_METHOD_DIGESTS": 128,
  185. "ENGINE_METHOD_STORE": 256,
  186. "ENGINE_METHOD_PKEY_METHS": 512,
  187. "ENGINE_METHOD_PKEY_ASN1_METHS": 1024,
  188. "ENGINE_METHOD_ALL": 65535,
  189. "ENGINE_METHOD_NONE": 0,
  190. "DH_CHECK_P_NOT_SAFE_PRIME": 2,
  191. "DH_CHECK_P_NOT_PRIME": 1,
  192. "DH_UNABLE_TO_CHECK_GENERATOR": 4,
  193. "DH_NOT_SUITABLE_GENERATOR": 8,
  194. "NPN_ENABLED": 1,
  195. "RSA_PKCS1_PADDING": 1,
  196. "RSA_SSLV23_PADDING": 2,
  197. "RSA_NO_PADDING": 3,
  198. "RSA_PKCS1_OAEP_PADDING": 4,
  199. "RSA_X931_PADDING": 5,
  200. "RSA_PKCS1_PSS_PADDING": 6,
  201. "POINT_CONVERSION_COMPRESSED": 2,
  202. "POINT_CONVERSION_UNCOMPRESSED": 4,
  203. "POINT_CONVERSION_HYBRID": 6,
  204. "F_OK": 0,
  205. "R_OK": 4,
  206. "W_OK": 2,
  207. "X_OK": 1,
  208. "UV_UDP_REUSEADDR": 4
  209. }