github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/cassandra/image/files/cassandra-seed.h (about) 1 /* Created by "go tool cgo" - DO NOT EDIT. */ 2 3 /* package command-line-arguments */ 4 5 6 #line 1 "cgo-builtin-prolog" 7 8 #include <stddef.h> /* for ptrdiff_t below */ 9 10 #ifndef GO_CGO_EXPORT_PROLOGUE_H 11 #define GO_CGO_EXPORT_PROLOGUE_H 12 13 typedef struct { const char *p; ptrdiff_t n; } _GoString_; 14 15 #endif 16 17 /* Start of preamble from import "C" comments. */ 18 19 20 #line 3 "/home/aledbf/go/src/k8s.io/examples/cassandra/go/main.go" 21 #include <stdio.h> 22 #include <stdlib.h> 23 24 #line 1 "cgo-generated-wrapper" 25 26 27 /* End of preamble from import "C" comments. */ 28 29 30 /* Start of boilerplate cgo prologue. */ 31 #line 1 "cgo-gcc-export-header-prolog" 32 33 #ifndef GO_CGO_PROLOGUE_H 34 #define GO_CGO_PROLOGUE_H 35 36 typedef signed char GoInt8; 37 typedef unsigned char GoUint8; 38 typedef short GoInt16; 39 typedef unsigned short GoUint16; 40 typedef int GoInt32; 41 typedef unsigned int GoUint32; 42 typedef long long GoInt64; 43 typedef unsigned long long GoUint64; 44 typedef GoInt64 GoInt; 45 typedef GoUint64 GoUint; 46 typedef __SIZE_TYPE__ GoUintptr; 47 typedef float GoFloat32; 48 typedef double GoFloat64; 49 typedef float _Complex GoComplex64; 50 typedef double _Complex GoComplex128; 51 52 /* 53 static assertion to make sure the file is being used on architecture 54 at least with matching size of GoInt. 55 */ 56 typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1]; 57 58 typedef _GoString_ GoString; 59 typedef void *GoMap; 60 typedef void *GoChan; 61 typedef struct { void *t; void *v; } GoInterface; 62 typedef struct { void *data; GoInt len; GoInt cap; } GoSlice; 63 64 #endif 65 66 /* End of boilerplate cgo prologue. */ 67 68 #ifdef __cplusplus 69 extern "C" { 70 #endif 71 72 73 // GetEndpoints searches the endpoints of a service returning a list of IP addresses. 74 75 extern char* GetEndpoints(char* p0, char* p1, char* p2); 76 77 #ifdef __cplusplus 78 } 79 #endif