1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
/* automatically generated by rust-bindgen */

pub const _STDINT_H: ::std::os::raw::c_uint = 1;
pub const _FEATURES_H: ::std::os::raw::c_uint = 1;
pub const _DEFAULT_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC11: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC99: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC95: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX_IMPLICITLY: ::std::os::raw::c_uint = 1;
pub const _POSIX_SOURCE: ::std::os::raw::c_uint = 1;
pub const _POSIX_C_SOURCE: ::std::os::raw::c_uint = 200809;
pub const __USE_POSIX: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX2: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199309: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199506: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K8: ::std::os::raw::c_uint = 1;
pub const _ATFILE_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_MISC: ::std::os::raw::c_uint = 1;
pub const __USE_ATFILE: ::std::os::raw::c_uint = 1;
pub const __USE_FORTIFY_LEVEL: ::std::os::raw::c_uint = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: ::std::os::raw::c_uint = 0;
pub const _STDC_PREDEF_H: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559__: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559_COMPLEX__: ::std::os::raw::c_uint = 1;
pub const __STDC_ISO_10646__: ::std::os::raw::c_uint = 201706;
pub const __STDC_NO_THREADS__: ::std::os::raw::c_uint = 1;
pub const __GNU_LIBRARY__: ::std::os::raw::c_uint = 6;
pub const __GLIBC__: ::std::os::raw::c_uint = 2;
pub const __GLIBC_MINOR__: ::std::os::raw::c_uint = 26;
pub const _SYS_CDEFS_H: ::std::os::raw::c_uint = 1;
pub const __glibc_c99_flexarr_available: ::std::os::raw::c_uint = 1;
pub const __WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __WORDSIZE_TIME64_COMPAT32: ::std::os::raw::c_uint = 1;
pub const __SYSCALL_WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __HAVE_GENERIC_SELECTION: ::std::os::raw::c_uint = 1;
pub const __GLIBC_USE_LIB_EXT2: ::std::os::raw::c_uint = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: ::std::os::raw::c_uint = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: ::std::os::raw::c_uint = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: ::std::os::raw::c_uint = 0;
pub const _BITS_TYPES_H: ::std::os::raw::c_uint = 1;
pub const _BITS_TYPESIZES_H: ::std::os::raw::c_uint = 1;
pub const __OFF_T_MATCHES_OFF64_T: ::std::os::raw::c_uint = 1;
pub const __INO_T_MATCHES_INO64_T: ::std::os::raw::c_uint = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: ::std::os::raw::c_uint = 1;
pub const __FD_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const _BITS_WCHAR_H: ::std::os::raw::c_uint = 1;
pub const _BITS_STDINT_INTN_H: ::std::os::raw::c_uint = 1;
pub const _BITS_STDINT_UINTN_H: ::std::os::raw::c_uint = 1;
pub const INT8_MIN: ::std::os::raw::c_int = -128;
pub const INT16_MIN: ::std::os::raw::c_int = -32768;
pub const INT32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT8_MAX: ::std::os::raw::c_uint = 127;
pub const INT16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_FAST16_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST32_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_FAST16_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const INT_FAST32_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_FAST16_MAX: ::std::os::raw::c_int = -1;
pub const UINT_FAST32_MAX: ::std::os::raw::c_int = -1;
pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTPTR_MAX: ::std::os::raw::c_int = -1;
pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648;
pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647;
pub const SIZE_MAX: ::std::os::raw::c_int = -1;
pub const WINT_MIN: ::std::os::raw::c_uint = 0;
pub const WINT_MAX: ::std::os::raw::c_uint = 4294967295;
pub type wchar_t = ::std::os::raw::c_int;
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __intmax_t = ::std::os::raw::c_long;
pub type __uintmax_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __fsid_t {
    pub __val: [::std::os::raw::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___fsid_t() {
    assert_eq!(::std::mem::size_of::<__fsid_t>() , 8usize , concat ! (
               "Size of: " , stringify ! ( __fsid_t ) ));
    assert_eq! (::std::mem::align_of::<__fsid_t>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( __fsid_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __fsid_t ) ) . __val as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __fsid_t ) , "::" ,
                stringify ! ( __val ) ));
}
impl Clone for __fsid_t {
    fn clone(&self) -> Self { *self }
}
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __qaddr_t = *mut __quad_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type __sig_atomic_t = ::std::os::raw::c_int;
pub type int_least8_t = ::std::os::raw::c_schar;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_long;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
extern "C" {
    pub fn TF_Version() -> *const ::std::os::raw::c_char;
}
pub const TF_DataType_TF_COMPLEX: TF_DataType = TF_DataType::TF_COMPLEX64;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TF_DataType {
    TF_FLOAT = 1,
    TF_DOUBLE = 2,
    TF_INT32 = 3,
    TF_UINT8 = 4,
    TF_INT16 = 5,
    TF_INT8 = 6,
    TF_STRING = 7,
    TF_COMPLEX64 = 8,
    TF_INT64 = 9,
    TF_BOOL = 10,
    TF_QINT8 = 11,
    TF_QUINT8 = 12,
    TF_QINT32 = 13,
    TF_BFLOAT16 = 14,
    TF_QINT16 = 15,
    TF_QUINT16 = 16,
    TF_UINT16 = 17,
    TF_COMPLEX128 = 18,
    TF_HALF = 19,
    TF_RESOURCE = 20,
    TF_VARIANT = 21,
    TF_UINT32 = 22,
    TF_UINT64 = 23,
}
extern "C" {
    pub fn TF_DataTypeSize(dt: TF_DataType) -> usize;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TF_Code {
    TF_OK = 0,
    TF_CANCELLED = 1,
    TF_UNKNOWN = 2,
    TF_INVALID_ARGUMENT = 3,
    TF_DEADLINE_EXCEEDED = 4,
    TF_NOT_FOUND = 5,
    TF_ALREADY_EXISTS = 6,
    TF_PERMISSION_DENIED = 7,
    TF_UNAUTHENTICATED = 16,
    TF_RESOURCE_EXHAUSTED = 8,
    TF_FAILED_PRECONDITION = 9,
    TF_ABORTED = 10,
    TF_OUT_OF_RANGE = 11,
    TF_UNIMPLEMENTED = 12,
    TF_INTERNAL = 13,
    TF_UNAVAILABLE = 14,
    TF_DATA_LOSS = 15,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Status {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewStatus() -> *mut TF_Status;
}
extern "C" {
    pub fn TF_DeleteStatus(arg1: *mut TF_Status);
}
extern "C" {
    pub fn TF_SetStatus(s: *mut TF_Status, code: TF_Code,
                        msg: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn TF_GetCode(s: *const TF_Status) -> TF_Code;
}
extern "C" {
    pub fn TF_Message(s: *const TF_Status) -> *const ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct TF_Buffer {
    pub data: *const ::std::os::raw::c_void,
    pub length: usize,
    pub data_deallocator: ::std::option::Option<unsafe extern "C" fn(data:
                                                                         *mut ::std::os::raw::c_void,
                                                                     length:
                                                                         usize)>,
}
#[test]
fn bindgen_test_layout_TF_Buffer() {
    assert_eq!(::std::mem::size_of::<TF_Buffer>() , 24usize , concat ! (
               "Size of: " , stringify ! ( TF_Buffer ) ));
    assert_eq! (::std::mem::align_of::<TF_Buffer>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( TF_Buffer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Buffer ) ) . data as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Buffer ) , "::" ,
                stringify ! ( data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Buffer ) ) . length as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Buffer ) , "::" ,
                stringify ! ( length ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Buffer ) ) . data_deallocator as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Buffer ) , "::" ,
                stringify ! ( data_deallocator ) ));
}
impl Clone for TF_Buffer {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    pub fn TF_NewBufferFromString(proto: *const ::std::os::raw::c_void,
                                  proto_len: usize) -> *mut TF_Buffer;
}
extern "C" {
    pub fn TF_NewBuffer() -> *mut TF_Buffer;
}
extern "C" {
    pub fn TF_DeleteBuffer(arg1: *mut TF_Buffer);
}
extern "C" {
    pub fn TF_GetBuffer(buffer: *mut TF_Buffer) -> TF_Buffer;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Tensor {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewTensor(arg1: TF_DataType, dims: *const i64,
                        num_dims: ::std::os::raw::c_int,
                        data: *mut ::std::os::raw::c_void, len: usize,
                        deallocator:
                            ::std::option::Option<unsafe extern "C" fn(data:
                                                                           *mut ::std::os::raw::c_void,
                                                                       len:
                                                                           usize,
                                                                       arg:
                                                                           *mut ::std::os::raw::c_void)>,
                        deallocator_arg: *mut ::std::os::raw::c_void)
     -> *mut TF_Tensor;
}
extern "C" {
    pub fn TF_AllocateTensor(arg1: TF_DataType, dims: *const i64,
                             num_dims: ::std::os::raw::c_int, len: usize)
     -> *mut TF_Tensor;
}
extern "C" {
    pub fn TF_TensorMaybeMove(tensor: *mut TF_Tensor) -> *mut TF_Tensor;
}
extern "C" {
    pub fn TF_DeleteTensor(arg1: *mut TF_Tensor);
}
extern "C" {
    pub fn TF_TensorType(arg1: *const TF_Tensor) -> TF_DataType;
}
extern "C" {
    pub fn TF_NumDims(arg1: *const TF_Tensor) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_Dim(tensor: *const TF_Tensor, dim_index: ::std::os::raw::c_int)
     -> i64;
}
extern "C" {
    pub fn TF_TensorByteSize(arg1: *const TF_Tensor) -> usize;
}
extern "C" {
    pub fn TF_TensorData(arg1: *const TF_Tensor)
     -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn TF_StringEncode(src: *const ::std::os::raw::c_char, src_len: usize,
                           dst: *mut ::std::os::raw::c_char, dst_len: usize,
                           status: *mut TF_Status) -> usize;
}
extern "C" {
    pub fn TF_StringDecode(src: *const ::std::os::raw::c_char, src_len: usize,
                           dst: *mut *const ::std::os::raw::c_char,
                           dst_len: *mut usize, status: *mut TF_Status)
     -> usize;
}
extern "C" {
    pub fn TF_StringEncodedSize(len: usize) -> usize;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_SessionOptions {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewSessionOptions() -> *mut TF_SessionOptions;
}
extern "C" {
    pub fn TF_SetTarget(options: *mut TF_SessionOptions,
                        target: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn TF_SetConfig(options: *mut TF_SessionOptions,
                        proto: *const ::std::os::raw::c_void,
                        proto_len: usize, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_DeleteSessionOptions(arg1: *mut TF_SessionOptions);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Graph {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewGraph() -> *mut TF_Graph;
}
extern "C" {
    pub fn TF_DeleteGraph(arg1: *mut TF_Graph);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_OperationDescription {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Operation {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct TF_Input {
    pub oper: *mut TF_Operation,
    pub index: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_TF_Input() {
    assert_eq!(::std::mem::size_of::<TF_Input>() , 16usize , concat ! (
               "Size of: " , stringify ! ( TF_Input ) ));
    assert_eq! (::std::mem::align_of::<TF_Input>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( TF_Input ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Input ) ) . oper as * const _ as usize
                } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Input ) , "::" ,
                stringify ! ( oper ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Input ) ) . index as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Input ) , "::" ,
                stringify ! ( index ) ));
}
impl Clone for TF_Input {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct TF_Output {
    pub oper: *mut TF_Operation,
    pub index: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_TF_Output() {
    assert_eq!(::std::mem::size_of::<TF_Output>() , 16usize , concat ! (
               "Size of: " , stringify ! ( TF_Output ) ));
    assert_eq! (::std::mem::align_of::<TF_Output>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( TF_Output ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Output ) ) . oper as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Output ) , "::" ,
                stringify ! ( oper ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_Output ) ) . index as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_Output ) , "::" ,
                stringify ! ( index ) ));
}
impl Clone for TF_Output {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Function {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_FunctionOptions {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_GraphSetTensorShape(graph: *mut TF_Graph, output: TF_Output,
                                  dims: *const i64,
                                  num_dims: ::std::os::raw::c_int,
                                  status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphGetTensorNumDims(graph: *mut TF_Graph, output: TF_Output,
                                    status: *mut TF_Status)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_GraphGetTensorShape(graph: *mut TF_Graph, output: TF_Output,
                                  dims: *mut i64,
                                  num_dims: ::std::os::raw::c_int,
                                  status: *mut TF_Status);
}
extern "C" {
    pub fn TF_NewOperation(graph: *mut TF_Graph,
                           op_type: *const ::std::os::raw::c_char,
                           oper_name: *const ::std::os::raw::c_char)
     -> *mut TF_OperationDescription;
}
extern "C" {
    pub fn TF_SetDevice(desc: *mut TF_OperationDescription,
                        device: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn TF_AddInput(desc: *mut TF_OperationDescription, input: TF_Output);
}
extern "C" {
    pub fn TF_AddInputList(desc: *mut TF_OperationDescription,
                           inputs: *const TF_Output,
                           num_inputs: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_AddControlInput(desc: *mut TF_OperationDescription,
                              input: *mut TF_Operation);
}
extern "C" {
    pub fn TF_ColocateWith(desc: *mut TF_OperationDescription,
                           op: *mut TF_Operation);
}
extern "C" {
    pub fn TF_SetAttrString(desc: *mut TF_OperationDescription,
                            attr_name: *const ::std::os::raw::c_char,
                            value: *const ::std::os::raw::c_void,
                            length: usize);
}
extern "C" {
    pub fn TF_SetAttrStringList(desc: *mut TF_OperationDescription,
                                attr_name: *const ::std::os::raw::c_char,
                                values: *const *const ::std::os::raw::c_void,
                                lengths: *const usize,
                                num_values: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrInt(desc: *mut TF_OperationDescription,
                         attr_name: *const ::std::os::raw::c_char,
                         value: i64);
}
extern "C" {
    pub fn TF_SetAttrIntList(desc: *mut TF_OperationDescription,
                             attr_name: *const ::std::os::raw::c_char,
                             values: *const i64,
                             num_values: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrFloat(desc: *mut TF_OperationDescription,
                           attr_name: *const ::std::os::raw::c_char,
                           value: f32);
}
extern "C" {
    pub fn TF_SetAttrFloatList(desc: *mut TF_OperationDescription,
                               attr_name: *const ::std::os::raw::c_char,
                               values: *const f32,
                               num_values: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrBool(desc: *mut TF_OperationDescription,
                          attr_name: *const ::std::os::raw::c_char,
                          value: ::std::os::raw::c_uchar);
}
extern "C" {
    pub fn TF_SetAttrBoolList(desc: *mut TF_OperationDescription,
                              attr_name: *const ::std::os::raw::c_char,
                              values: *const ::std::os::raw::c_uchar,
                              num_values: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrType(desc: *mut TF_OperationDescription,
                          attr_name: *const ::std::os::raw::c_char,
                          value: TF_DataType);
}
extern "C" {
    pub fn TF_SetAttrTypeList(desc: *mut TF_OperationDescription,
                              attr_name: *const ::std::os::raw::c_char,
                              values: *const TF_DataType,
                              num_values: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrFuncName(desc: *mut TF_OperationDescription,
                              attr_name: *const ::std::os::raw::c_char,
                              value: *const ::std::os::raw::c_char,
                              length: usize);
}
extern "C" {
    pub fn TF_SetAttrShape(desc: *mut TF_OperationDescription,
                           attr_name: *const ::std::os::raw::c_char,
                           dims: *const i64, num_dims: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrShapeList(desc: *mut TF_OperationDescription,
                               attr_name: *const ::std::os::raw::c_char,
                               dims: *const *const i64,
                               num_dims: *const ::std::os::raw::c_int,
                               num_shapes: ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_SetAttrTensorShapeProto(desc: *mut TF_OperationDescription,
                                      attr_name:
                                          *const ::std::os::raw::c_char,
                                      proto: *const ::std::os::raw::c_void,
                                      proto_len: usize,
                                      status: *mut TF_Status);
}
extern "C" {
    pub fn TF_SetAttrTensorShapeProtoList(desc: *mut TF_OperationDescription,
                                          attr_name:
                                              *const ::std::os::raw::c_char,
                                          protos:
                                              *const *const ::std::os::raw::c_void,
                                          proto_lens: *const usize,
                                          num_shapes: ::std::os::raw::c_int,
                                          status: *mut TF_Status);
}
extern "C" {
    pub fn TF_SetAttrTensor(desc: *mut TF_OperationDescription,
                            attr_name: *const ::std::os::raw::c_char,
                            value: *mut TF_Tensor, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_SetAttrTensorList(desc: *mut TF_OperationDescription,
                                attr_name: *const ::std::os::raw::c_char,
                                values: *const *const TF_Tensor,
                                num_values: ::std::os::raw::c_int,
                                status: *mut TF_Status);
}
extern "C" {
    pub fn TF_SetAttrValueProto(desc: *mut TF_OperationDescription,
                                attr_name: *const ::std::os::raw::c_char,
                                proto: *const ::std::os::raw::c_void,
                                proto_len: usize, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_FinishOperation(desc: *mut TF_OperationDescription,
                              status: *mut TF_Status) -> *mut TF_Operation;
}
extern "C" {
    pub fn TF_OperationName(oper: *mut TF_Operation)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_OperationOpType(oper: *mut TF_Operation)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_OperationDevice(oper: *mut TF_Operation)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_OperationNumOutputs(oper: *mut TF_Operation)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationOutputType(oper_out: TF_Output) -> TF_DataType;
}
extern "C" {
    pub fn TF_OperationOutputListLength(oper: *mut TF_Operation,
                                        arg_name:
                                            *const ::std::os::raw::c_char,
                                        status: *mut TF_Status)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationNumInputs(oper: *mut TF_Operation)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationInputType(oper_in: TF_Input) -> TF_DataType;
}
extern "C" {
    pub fn TF_OperationInputListLength(oper: *mut TF_Operation,
                                       arg_name:
                                           *const ::std::os::raw::c_char,
                                       status: *mut TF_Status)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationInput(oper_in: TF_Input) -> TF_Output;
}
extern "C" {
    pub fn TF_OperationOutputNumConsumers(oper_out: TF_Output)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationOutputConsumers(oper_out: TF_Output,
                                       consumers: *mut TF_Input,
                                       max_consumers: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationNumControlInputs(oper: *mut TF_Operation)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationGetControlInputs(oper: *mut TF_Operation,
                                        control_inputs:
                                            *mut *mut TF_Operation,
                                        max_control_inputs:
                                            ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationNumControlOutputs(oper: *mut TF_Operation)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationGetControlOutputs(oper: *mut TF_Operation,
                                         control_outputs:
                                             *mut *mut TF_Operation,
                                         max_control_outputs:
                                             ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TF_AttrType {
    TF_ATTR_STRING = 0,
    TF_ATTR_INT = 1,
    TF_ATTR_FLOAT = 2,
    TF_ATTR_BOOL = 3,
    TF_ATTR_TYPE = 4,
    TF_ATTR_SHAPE = 5,
    TF_ATTR_TENSOR = 6,
    TF_ATTR_PLACEHOLDER = 7,
    TF_ATTR_FUNC = 8,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct TF_AttrMetadata {
    pub is_list: ::std::os::raw::c_uchar,
    pub list_size: i64,
    pub type_: TF_AttrType,
    pub total_size: i64,
}
#[test]
fn bindgen_test_layout_TF_AttrMetadata() {
    assert_eq!(::std::mem::size_of::<TF_AttrMetadata>() , 32usize , concat ! (
               "Size of: " , stringify ! ( TF_AttrMetadata ) ));
    assert_eq! (::std::mem::align_of::<TF_AttrMetadata>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( TF_AttrMetadata ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_AttrMetadata ) ) . is_list as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_AttrMetadata ) ,
                "::" , stringify ! ( is_list ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_AttrMetadata ) ) . list_size as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_AttrMetadata ) ,
                "::" , stringify ! ( list_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_AttrMetadata ) ) . type_ as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_AttrMetadata ) ,
                "::" , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_AttrMetadata ) ) . total_size as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_AttrMetadata ) ,
                "::" , stringify ! ( total_size ) ));
}
impl Clone for TF_AttrMetadata {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    pub fn TF_OperationGetAttrMetadata(oper: *mut TF_Operation,
                                       attr_name:
                                           *const ::std::os::raw::c_char,
                                       status: *mut TF_Status)
     -> TF_AttrMetadata;
}
extern "C" {
    pub fn TF_OperationGetAttrString(oper: *mut TF_Operation,
                                     attr_name: *const ::std::os::raw::c_char,
                                     value: *mut ::std::os::raw::c_void,
                                     max_length: usize,
                                     status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrStringList(oper: *mut TF_Operation,
                                         attr_name:
                                             *const ::std::os::raw::c_char,
                                         values:
                                             *mut *mut ::std::os::raw::c_void,
                                         lengths: *mut usize,
                                         max_values: ::std::os::raw::c_int,
                                         storage: *mut ::std::os::raw::c_void,
                                         storage_size: usize,
                                         status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrInt(oper: *mut TF_Operation,
                                  attr_name: *const ::std::os::raw::c_char,
                                  value: *mut i64, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrIntList(oper: *mut TF_Operation,
                                      attr_name:
                                          *const ::std::os::raw::c_char,
                                      values: *mut i64,
                                      max_values: ::std::os::raw::c_int,
                                      status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrFloat(oper: *mut TF_Operation,
                                    attr_name: *const ::std::os::raw::c_char,
                                    value: *mut f32, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrFloatList(oper: *mut TF_Operation,
                                        attr_name:
                                            *const ::std::os::raw::c_char,
                                        values: *mut f32,
                                        max_values: ::std::os::raw::c_int,
                                        status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrBool(oper: *mut TF_Operation,
                                   attr_name: *const ::std::os::raw::c_char,
                                   value: *mut ::std::os::raw::c_uchar,
                                   status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrBoolList(oper: *mut TF_Operation,
                                       attr_name:
                                           *const ::std::os::raw::c_char,
                                       values: *mut ::std::os::raw::c_uchar,
                                       max_values: ::std::os::raw::c_int,
                                       status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrType(oper: *mut TF_Operation,
                                   attr_name: *const ::std::os::raw::c_char,
                                   value: *mut TF_DataType,
                                   status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrTypeList(oper: *mut TF_Operation,
                                       attr_name:
                                           *const ::std::os::raw::c_char,
                                       values: *mut TF_DataType,
                                       max_values: ::std::os::raw::c_int,
                                       status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrShape(oper: *mut TF_Operation,
                                    attr_name: *const ::std::os::raw::c_char,
                                    value: *mut i64,
                                    num_dims: ::std::os::raw::c_int,
                                    status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrShapeList(oper: *mut TF_Operation,
                                        attr_name:
                                            *const ::std::os::raw::c_char,
                                        dims: *mut *mut i64,
                                        num_dims: *mut ::std::os::raw::c_int,
                                        num_shapes: ::std::os::raw::c_int,
                                        storage: *mut i64,
                                        storage_size: ::std::os::raw::c_int,
                                        status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrTensorShapeProto(oper: *mut TF_Operation,
                                               attr_name:
                                                   *const ::std::os::raw::c_char,
                                               value: *mut TF_Buffer,
                                               status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrTensorShapeProtoList(oper: *mut TF_Operation,
                                                   attr_name:
                                                       *const ::std::os::raw::c_char,
                                                   values:
                                                       *mut *mut TF_Buffer,
                                                   max_values:
                                                       ::std::os::raw::c_int,
                                                   status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrTensor(oper: *mut TF_Operation,
                                     attr_name: *const ::std::os::raw::c_char,
                                     value: *mut *mut TF_Tensor,
                                     status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrTensorList(oper: *mut TF_Operation,
                                         attr_name:
                                             *const ::std::os::raw::c_char,
                                         values: *mut *mut TF_Tensor,
                                         max_values: ::std::os::raw::c_int,
                                         status: *mut TF_Status);
}
extern "C" {
    pub fn TF_OperationGetAttrValueProto(oper: *mut TF_Operation,
                                         attr_name:
                                             *const ::std::os::raw::c_char,
                                         output_attr_value: *mut TF_Buffer,
                                         status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphOperationByName(graph: *mut TF_Graph,
                                   oper_name: *const ::std::os::raw::c_char)
     -> *mut TF_Operation;
}
extern "C" {
    pub fn TF_GraphNextOperation(graph: *mut TF_Graph, pos: *mut usize)
     -> *mut TF_Operation;
}
extern "C" {
    pub fn TF_GraphToGraphDef(graph: *mut TF_Graph,
                              output_graph_def: *mut TF_Buffer,
                              status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphGetOpDef(graph: *mut TF_Graph,
                            op_name: *const ::std::os::raw::c_char,
                            output_op_def: *mut TF_Buffer,
                            status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphVersions(graph: *mut TF_Graph,
                            output_version_def: *mut TF_Buffer,
                            status: *mut TF_Status);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_ImportGraphDefOptions {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewImportGraphDefOptions() -> *mut TF_ImportGraphDefOptions;
}
extern "C" {
    pub fn TF_DeleteImportGraphDefOptions(opts:
                                              *mut TF_ImportGraphDefOptions);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsSetPrefix(opts:
                                                 *mut TF_ImportGraphDefOptions,
                                             prefix:
                                                 *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsSetDefaultDevice(opts:
                                                        *mut TF_ImportGraphDefOptions,
                                                    device:
                                                        *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsSetUniquifyNames(opts:
                                                        *mut TF_ImportGraphDefOptions,
                                                    uniquify_names:
                                                        ::std::os::raw::c_uchar);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsSetUniquifyPrefix(opts:
                                                         *mut TF_ImportGraphDefOptions,
                                                     uniquify_prefix:
                                                         ::std::os::raw::c_uchar);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsAddInputMapping(opts:
                                                       *mut TF_ImportGraphDefOptions,
                                                   src_name:
                                                       *const ::std::os::raw::c_char,
                                                   src_index:
                                                       ::std::os::raw::c_int,
                                                   dst: TF_Output);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsRemapControlDependency(opts:
                                                              *mut TF_ImportGraphDefOptions,
                                                          src_name:
                                                              *const ::std::os::raw::c_char,
                                                          dst:
                                                              *mut TF_Operation);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsAddControlDependency(opts:
                                                            *mut TF_ImportGraphDefOptions,
                                                        oper:
                                                            *mut TF_Operation);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsAddReturnOutput(opts:
                                                       *mut TF_ImportGraphDefOptions,
                                                   oper_name:
                                                       *const ::std::os::raw::c_char,
                                                   index:
                                                       ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsNumReturnOutputs(opts:
                                                        *const TF_ImportGraphDefOptions)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsAddReturnOperation(opts:
                                                          *mut TF_ImportGraphDefOptions,
                                                      oper_name:
                                                          *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn TF_ImportGraphDefOptionsNumReturnOperations(opts:
                                                           *const TF_ImportGraphDefOptions)
     -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_ImportGraphDefResults {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_ImportGraphDefResultsReturnOutputs(results:
                                                     *mut TF_ImportGraphDefResults,
                                                 num_outputs:
                                                     *mut ::std::os::raw::c_int,
                                                 outputs:
                                                     *mut *mut TF_Output);
}
extern "C" {
    pub fn TF_ImportGraphDefResultsReturnOperations(results:
                                                        *mut TF_ImportGraphDefResults,
                                                    num_opers:
                                                        *mut ::std::os::raw::c_int,
                                                    opers:
                                                        *mut *mut *mut TF_Operation);
}
extern "C" {
    pub fn TF_ImportGraphDefResultsMissingUnusedInputMappings(results:
                                                                  *mut TF_ImportGraphDefResults,
                                                              num_missing_unused_input_mappings:
                                                                  *mut ::std::os::raw::c_int,
                                                              src_names:
                                                                  *mut *mut *const ::std::os::raw::c_char,
                                                              src_indexes:
                                                                  *mut *mut ::std::os::raw::c_int);
}
extern "C" {
    pub fn TF_DeleteImportGraphDefResults(results:
                                              *mut TF_ImportGraphDefResults);
}
extern "C" {
    pub fn TF_GraphImportGraphDefWithResults(graph: *mut TF_Graph,
                                             graph_def: *const TF_Buffer,
                                             options:
                                                 *const TF_ImportGraphDefOptions,
                                             status: *mut TF_Status)
     -> *mut TF_ImportGraphDefResults;
}
extern "C" {
    pub fn TF_GraphImportGraphDefWithReturnOutputs(graph: *mut TF_Graph,
                                                   graph_def:
                                                       *const TF_Buffer,
                                                   options:
                                                       *const TF_ImportGraphDefOptions,
                                                   return_outputs:
                                                       *mut TF_Output,
                                                   num_return_outputs:
                                                       ::std::os::raw::c_int,
                                                   status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphImportGraphDef(graph: *mut TF_Graph,
                                  graph_def: *const TF_Buffer,
                                  options: *const TF_ImportGraphDefOptions,
                                  status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphCopyFunction(g: *mut TF_Graph, func: *const TF_Function,
                                grad: *const TF_Function,
                                status: *mut TF_Status);
}
extern "C" {
    pub fn TF_GraphNumFunctions(g: *mut TF_Graph) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_GraphGetFunctions(g: *mut TF_Graph,
                                funcs: *mut *mut TF_Function,
                                max_func: ::std::os::raw::c_int,
                                status: *mut TF_Status)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_OperationToNodeDef(oper: *mut TF_Operation,
                                 output_node_def: *mut TF_Buffer,
                                 status: *mut TF_Status);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct TF_WhileParams {
    pub ninputs: ::std::os::raw::c_int,
    pub cond_graph: *const TF_Graph,
    pub cond_inputs: *const TF_Output,
    pub cond_output: TF_Output,
    pub body_graph: *const TF_Graph,
    pub body_inputs: *const TF_Output,
    pub body_outputs: *const TF_Output,
    pub name: *const ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_TF_WhileParams() {
    assert_eq!(::std::mem::size_of::<TF_WhileParams>() , 72usize , concat ! (
               "Size of: " , stringify ! ( TF_WhileParams ) ));
    assert_eq! (::std::mem::align_of::<TF_WhileParams>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( TF_WhileParams ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . ninputs as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( ninputs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . cond_graph as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( cond_graph ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . cond_inputs as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( cond_inputs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . cond_output as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( cond_output ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . body_graph as *
                const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( body_graph ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . body_inputs as *
                const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( body_inputs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . body_outputs as *
                const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( body_outputs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const TF_WhileParams ) ) . name as * const _ as
                usize } , 64usize , concat ! (
                "Alignment of field: " , stringify ! ( TF_WhileParams ) , "::"
                , stringify ! ( name ) ));
}
impl Clone for TF_WhileParams {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    pub fn TF_NewWhile(g: *mut TF_Graph, inputs: *mut TF_Output,
                       ninputs: ::std::os::raw::c_int, status: *mut TF_Status)
     -> TF_WhileParams;
}
extern "C" {
    pub fn TF_FinishWhile(params: *const TF_WhileParams,
                          status: *mut TF_Status, outputs: *mut TF_Output);
}
extern "C" {
    pub fn TF_AbortWhile(params: *const TF_WhileParams);
}
extern "C" {
    pub fn TF_AddGradients(g: *mut TF_Graph, y: *mut TF_Output,
                           ny: ::std::os::raw::c_int, x: *mut TF_Output,
                           nx: ::std::os::raw::c_int, dx: *mut TF_Output,
                           status: *mut TF_Status, dy: *mut TF_Output);
}
extern "C" {
    pub fn TF_AddGradientsWithPrefix(g: *mut TF_Graph,
                                     prefix: *const ::std::os::raw::c_char,
                                     y: *mut TF_Output,
                                     ny: ::std::os::raw::c_int,
                                     x: *mut TF_Output,
                                     nx: ::std::os::raw::c_int,
                                     dx: *mut TF_Output,
                                     status: *mut TF_Status,
                                     dy: *mut TF_Output);
}
extern "C" {
    pub fn TF_GraphToFunction(fn_body: *const TF_Graph,
                              fn_name: *const ::std::os::raw::c_char,
                              append_hash_to_fn_name: ::std::os::raw::c_uchar,
                              num_opers: ::std::os::raw::c_int,
                              opers: *const *const TF_Operation,
                              ninputs: ::std::os::raw::c_int,
                              inputs: *const TF_Output,
                              noutputs: ::std::os::raw::c_int,
                              outputs: *const TF_Output,
                              output_names:
                                  *const *const ::std::os::raw::c_char,
                              opts: *const TF_FunctionOptions,
                              description: *const ::std::os::raw::c_char,
                              status: *mut TF_Status) -> *mut TF_Function;
}
extern "C" {
    pub fn TF_FunctionName(func: *mut TF_Function)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_FunctionToFunctionDef(func: *mut TF_Function,
                                    output_func_def: *mut TF_Buffer,
                                    status: *mut TF_Status);
}
extern "C" {
    pub fn TF_FunctionImportFunctionDef(proto: *const ::std::os::raw::c_void,
                                        proto_len: usize,
                                        status: *mut TF_Status)
     -> *mut TF_Function;
}
extern "C" {
    pub fn TF_FunctionSetAttrValueProto(func: *mut TF_Function,
                                        attr_name:
                                            *const ::std::os::raw::c_char,
                                        proto: *const ::std::os::raw::c_void,
                                        proto_len: usize,
                                        status: *mut TF_Status);
}
extern "C" {
    pub fn TF_FunctionGetAttrValueProto(func: *mut TF_Function,
                                        attr_name:
                                            *const ::std::os::raw::c_char,
                                        output_attr_value: *mut TF_Buffer,
                                        status: *mut TF_Status);
}
extern "C" {
    pub fn TF_DeleteFunction(func: *mut TF_Function);
}
extern "C" {
    pub fn TF_TryEvaluateConstant(graph: *mut TF_Graph, output: TF_Output,
                                  result: *mut *mut TF_Tensor,
                                  status: *mut TF_Status)
     -> ::std::os::raw::c_uchar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Session {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewSession(graph: *mut TF_Graph, opts: *const TF_SessionOptions,
                         status: *mut TF_Status) -> *mut TF_Session;
}
extern "C" {
    pub fn TF_LoadSessionFromSavedModel(session_options:
                                            *const TF_SessionOptions,
                                        run_options: *const TF_Buffer,
                                        export_dir:
                                            *const ::std::os::raw::c_char,
                                        tags:
                                            *const *const ::std::os::raw::c_char,
                                        tags_len: ::std::os::raw::c_int,
                                        graph: *mut TF_Graph,
                                        meta_graph_def: *mut TF_Buffer,
                                        status: *mut TF_Status)
     -> *mut TF_Session;
}
extern "C" {
    pub fn TF_CloseSession(arg1: *mut TF_Session, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_DeleteSession(arg1: *mut TF_Session, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_SessionRun(session: *mut TF_Session,
                         run_options: *const TF_Buffer,
                         inputs: *const TF_Output,
                         input_values: *const *const TF_Tensor,
                         ninputs: ::std::os::raw::c_int,
                         outputs: *const TF_Output,
                         output_values: *mut *mut TF_Tensor,
                         noutputs: ::std::os::raw::c_int,
                         target_opers: *const *const TF_Operation,
                         ntargets: ::std::os::raw::c_int,
                         run_metadata: *mut TF_Buffer, arg1: *mut TF_Status);
}
extern "C" {
    pub fn TF_SessionPRunSetup(arg1: *mut TF_Session,
                               inputs: *const TF_Output,
                               ninputs: ::std::os::raw::c_int,
                               outputs: *const TF_Output,
                               noutputs: ::std::os::raw::c_int,
                               target_opers: *const *const TF_Operation,
                               ntargets: ::std::os::raw::c_int,
                               handle: *mut *const ::std::os::raw::c_char,
                               arg2: *mut TF_Status);
}
extern "C" {
    pub fn TF_SessionPRun(arg1: *mut TF_Session,
                          handle: *const ::std::os::raw::c_char,
                          inputs: *const TF_Output,
                          input_values: *const *const TF_Tensor,
                          ninputs: ::std::os::raw::c_int,
                          outputs: *const TF_Output,
                          output_values: *mut *mut TF_Tensor,
                          noutputs: ::std::os::raw::c_int,
                          target_opers: *const *const TF_Operation,
                          ntargets: ::std::os::raw::c_int,
                          arg2: *mut TF_Status);
}
extern "C" {
    pub fn TF_DeletePRunHandle(handle: *const ::std::os::raw::c_char);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_DeprecatedSession {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewDeprecatedSession(arg1: *const TF_SessionOptions,
                                   status: *mut TF_Status)
     -> *mut TF_DeprecatedSession;
}
extern "C" {
    pub fn TF_CloseDeprecatedSession(arg1: *mut TF_DeprecatedSession,
                                     status: *mut TF_Status);
}
extern "C" {
    pub fn TF_DeleteDeprecatedSession(arg1: *mut TF_DeprecatedSession,
                                      status: *mut TF_Status);
}
extern "C" {
    pub fn TF_Reset(opt: *const TF_SessionOptions,
                    containers: *mut *const ::std::os::raw::c_char,
                    ncontainers: ::std::os::raw::c_int,
                    status: *mut TF_Status);
}
extern "C" {
    pub fn TF_ExtendGraph(arg1: *mut TF_DeprecatedSession,
                          proto: *const ::std::os::raw::c_void,
                          proto_len: usize, arg2: *mut TF_Status);
}
extern "C" {
    pub fn TF_Run(arg1: *mut TF_DeprecatedSession,
                  run_options: *const TF_Buffer,
                  input_names: *mut *const ::std::os::raw::c_char,
                  inputs: *mut *mut TF_Tensor, ninputs: ::std::os::raw::c_int,
                  output_names: *mut *const ::std::os::raw::c_char,
                  outputs: *mut *mut TF_Tensor,
                  noutputs: ::std::os::raw::c_int,
                  target_oper_names: *mut *const ::std::os::raw::c_char,
                  ntargets: ::std::os::raw::c_int,
                  run_metadata: *mut TF_Buffer, arg2: *mut TF_Status);
}
extern "C" {
    pub fn TF_PRunSetup(arg1: *mut TF_DeprecatedSession,
                        input_names: *mut *const ::std::os::raw::c_char,
                        ninputs: ::std::os::raw::c_int,
                        output_names: *mut *const ::std::os::raw::c_char,
                        noutputs: ::std::os::raw::c_int,
                        target_oper_names: *mut *const ::std::os::raw::c_char,
                        ntargets: ::std::os::raw::c_int,
                        handle: *mut *const ::std::os::raw::c_char,
                        arg2: *mut TF_Status);
}
extern "C" {
    pub fn TF_PRun(arg1: *mut TF_DeprecatedSession,
                   handle: *const ::std::os::raw::c_char,
                   input_names: *mut *const ::std::os::raw::c_char,
                   inputs: *mut *mut TF_Tensor,
                   ninputs: ::std::os::raw::c_int,
                   output_names: *mut *const ::std::os::raw::c_char,
                   outputs: *mut *mut TF_Tensor,
                   noutputs: ::std::os::raw::c_int,
                   target_oper_names: *mut *const ::std::os::raw::c_char,
                   ntargets: ::std::os::raw::c_int, arg2: *mut TF_Status);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_DeviceList {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_SessionListDevices(session: *mut TF_Session,
                                 status: *mut TF_Status)
     -> *mut TF_DeviceList;
}
extern "C" {
    pub fn TF_DeprecatedSessionListDevices(session: *mut TF_DeprecatedSession,
                                           status: *mut TF_Status)
     -> *mut TF_DeviceList;
}
extern "C" {
    pub fn TF_DeleteDeviceList(list: *mut TF_DeviceList);
}
extern "C" {
    pub fn TF_DeviceListCount(list: *const TF_DeviceList)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn TF_DeviceListName(list: *const TF_DeviceList,
                             index: ::std::os::raw::c_int,
                             status: *mut TF_Status)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_DeviceListType(list: *const TF_DeviceList,
                             index: ::std::os::raw::c_int,
                             status: *mut TF_Status)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_DeviceListMemoryBytes(list: *const TF_DeviceList,
                                    index: ::std::os::raw::c_int,
                                    status: *mut TF_Status) -> i64;
}
extern "C" {
    pub fn TF_DeviceListIncarnation(list: *const TF_DeviceList,
                                    index: ::std::os::raw::c_int,
                                    status: *mut TF_Status) -> u64;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Library {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_LoadLibrary(library_filename: *const ::std::os::raw::c_char,
                          status: *mut TF_Status) -> *mut TF_Library;
}
extern "C" {
    pub fn TF_GetOpList(lib_handle: *mut TF_Library) -> TF_Buffer;
}
extern "C" {
    pub fn TF_DeleteLibraryHandle(lib_handle: *mut TF_Library);
}
extern "C" {
    pub fn TF_GetAllOpList() -> *mut TF_Buffer;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_ApiDefMap {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewApiDefMap(op_list_buffer: *mut TF_Buffer,
                           status: *mut TF_Status) -> *mut TF_ApiDefMap;
}
extern "C" {
    pub fn TF_DeleteApiDefMap(apimap: *mut TF_ApiDefMap);
}
extern "C" {
    pub fn TF_ApiDefMapPut(api_def_map: *mut TF_ApiDefMap,
                           text: *const ::std::os::raw::c_char,
                           text_len: usize, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_ApiDefMapGet(api_def_map: *mut TF_ApiDefMap,
                           name: *const ::std::os::raw::c_char,
                           name_len: usize, status: *mut TF_Status)
     -> *mut TF_Buffer;
}
extern "C" {
    pub fn TF_GetAllRegisteredKernels(status: *mut TF_Status)
     -> *mut TF_Buffer;
}
extern "C" {
    pub fn TF_GetRegisteredKernelsForOp(name: *const ::std::os::raw::c_char,
                                        status: *mut TF_Status)
     -> *mut TF_Buffer;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TF_Server {
    _unused: [u8; 0],
}
extern "C" {
    pub fn TF_NewServer(proto: *const ::std::os::raw::c_void,
                        proto_len: usize, status: *mut TF_Status)
     -> *mut TF_Server;
}
extern "C" {
    pub fn TF_ServerStart(server: *mut TF_Server, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_ServerStop(server: *mut TF_Server, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_ServerJoin(server: *mut TF_Server, status: *mut TF_Status);
}
extern "C" {
    pub fn TF_ServerTarget(server: *mut TF_Server)
     -> *const ::std::os::raw::c_char;
}
extern "C" {
    pub fn TF_DeleteServer(server: *mut TF_Server);
}