libclash.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /* Code generated by cmd/cgo; DO NOT EDIT. */
  2. /* package mapleafgo.cn/clash_for_flutter/core */
  3. #line 1 "cgo-builtin-export-prolog"
  4. #include <stddef.h>
  5. #ifndef GO_CGO_EXPORT_PROLOGUE_H
  6. #define GO_CGO_EXPORT_PROLOGUE_H
  7. #ifndef GO_CGO_GOSTRING_TYPEDEF
  8. typedef struct { const char *p; ptrdiff_t n; } _GoString_;
  9. #endif
  10. #endif
  11. /* Start of preamble from import "C" comments. */
  12. /* End of preamble from import "C" comments. */
  13. /* Start of boilerplate cgo prologue. */
  14. #line 1 "cgo-gcc-export-header-prolog"
  15. #ifndef GO_CGO_PROLOGUE_H
  16. #define GO_CGO_PROLOGUE_H
  17. typedef signed char GoInt8;
  18. typedef unsigned char GoUint8;
  19. typedef short GoInt16;
  20. typedef unsigned short GoUint16;
  21. typedef int GoInt32;
  22. typedef unsigned int GoUint32;
  23. typedef long long GoInt64;
  24. typedef unsigned long long GoUint64;
  25. typedef GoInt64 GoInt;
  26. typedef GoUint64 GoUint;
  27. typedef size_t GoUintptr;
  28. typedef float GoFloat32;
  29. typedef double GoFloat64;
  30. #ifdef _MSC_VER
  31. #include <complex.h>
  32. typedef _Fcomplex GoComplex64;
  33. typedef _Dcomplex GoComplex128;
  34. #else
  35. typedef float _Complex GoComplex64;
  36. typedef double _Complex GoComplex128;
  37. #endif
  38. /*
  39. static assertion to make sure the file is being used on architecture
  40. at least with matching size of GoInt.
  41. */
  42. typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
  43. #ifndef GO_CGO_GOSTRING_TYPEDEF
  44. typedef _GoString_ GoString;
  45. #endif
  46. typedef void *GoMap;
  47. typedef void *GoChan;
  48. typedef struct { void *t; void *v; } GoInterface;
  49. typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
  50. #endif
  51. /* End of boilerplate cgo prologue. */
  52. #ifdef __cplusplus
  53. extern "C" {
  54. #endif
  55. extern GoUint8 setHomeDir(char* homeStr);
  56. extern GoUint8 setConfig(char* configStr);
  57. extern void withExternalController(char* externalController);
  58. extern void withSecret(char* secret);
  59. extern GoUint8 mmdbVerify(char* path);
  60. extern GoUint8 startService();
  61. #ifdef __cplusplus
  62. }
  63. #endif