specifiers.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. * Version: MPL 1.1
  3. *
  4. * The contents of this file are subject to the Mozilla Public License Version
  5. * 1.1 (the "License"); you may not use this file except in compliance with
  6. * the License. You may obtain a copy of the License at
  7. * http://www.mozilla.org/MPL/
  8. *
  9. * Software distributed under the License is distributed on an "AS IS" basis,
  10. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11. * for the specific language governing rights and limitations under the
  12. * License.
  13. *
  14. * The Original Code is the sscanf 2.0 SA:MP plugin.
  15. *
  16. * The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  17. * Portions created by the Initial Developer are Copyright (C) 2010
  18. * the Initial Developer. All Rights Reserved.
  19. *
  20. * Contributor(s):
  21. *
  22. * Special Thanks to:
  23. *
  24. * SA:MP Team past, present and future
  25. */
  26. #pragma once
  27. bool
  28. DoI(char ** input, int * ret);
  29. bool
  30. DoN(char ** input, int * ret);
  31. bool
  32. DoH(char ** input, int * ret);
  33. bool
  34. DoO(char ** input, int * ret);
  35. bool
  36. DoF(char ** input, double * ret);
  37. bool
  38. DoC(char ** input, char * ret);
  39. bool
  40. DoB(char ** input, int * ret);
  41. bool
  42. DoL(char ** input, bool * ret);
  43. bool
  44. DoG(char ** input, double * ret);
  45. bool
  46. DoS(char ** input, char ** ret, int length, bool all);
  47. bool
  48. DoU(char ** input, int * ret, unsigned int start);
  49. bool
  50. DoQ(char ** input, int * ret, unsigned int start);
  51. bool
  52. DoR(char ** input, int * ret, unsigned int start);
  53. bool
  54. DoID(char ** input, int * ret);
  55. bool
  56. DoND(char ** input, int * ret);
  57. bool
  58. DoHD(char ** input, int * ret);
  59. bool
  60. DoOD(char ** input, int * ret);
  61. bool
  62. DoFD(char ** input, double * ret);
  63. bool
  64. DoCD(char ** input, char * ret);
  65. bool
  66. DoBD(char ** input, int * ret);
  67. bool
  68. DoLD(char ** input, bool * ret);
  69. bool
  70. DoGD(char ** input, double * ret);
  71. bool
  72. DoSD(char ** input, char ** ret, int * length);
  73. bool
  74. DoUD(char ** input, int * ret);
  75. bool
  76. DoQD(char ** input, int * ret);
  77. bool
  78. DoRD(char ** input, int * ret);