-
Notifications
You must be signed in to change notification settings - Fork 3
/
k2hash_arginfo_php74.h
1745 lines (1474 loc) · 64.2 KB
/
k2hash_arginfo_php74.h
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
/*
* K2HASH PHP Extension library
*
* Copyright 2015 Yahoo Japan Corporation.
*
* K2HASH is key-valuew store base libraries.
* K2HASH is made for the purpose of the construction of
* original KVS system and the offer of the library.
* The characteristic is this KVS library which Key can
* layer. And can support multi-processing and multi-thread,
* and is provided safely as available KVS.
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* AUTHOR: Hirotaka Wakabayashi
* CREATE: Tue, Feb 22 2022
* REVISION:
*/
/* {{{ proto void k2hpx_bump_debug_level()
Bump up debugging level */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_bump_debug_level_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_bump_debug_level */
/* {{{ proto void k2hpx_set_debug_level_silent()
Set debugging level silent */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_debug_level_silent_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_debug_level_silent */
/* {{{ proto void k2hpx_set_debug_level_error()
Set debugging level error */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_debug_level_error_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_debug_level_error */
/* {{{ proto void k2hpx_set_debug_level_warning()
Set debugging level warning */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_debug_level_warning_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_debug_level_warning */
/* {{{ proto void k2hpx_set_debug_level_message()
Set debugging level message */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_debug_level_message_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_debug_level_message */
/* {{{ proto bool k2hpx_set_debug_file(string filepath)
Set debugging message file path */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_debug_file_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_debug_file */
/* {{{ proto bool k2hpx_unset_debug_file()
Unset debugging message file path */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_unset_debug_file_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_unset_debug_file */
/* {{{ proto bool k2hpx_load_debug_env()
Load environment for k2hash debugging */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_load_debug_env_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_load_debug_env */
/* {{{ proto bool k2hpx_load_hash_library(string libpath)
Load external hashing function */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_load_hash_library_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, libpath)
ZEND_END_ARG_INFO()
/* }}} k2hpx_load_hash_library */
/* {{{ proto bool k2hpx_unload_hash_library()
Unload external hashing function */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_unload_hash_library_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_unload_hash_library */
/* {{{ proto bool k2hpx_load_transaction_library(string libpath)
Load external transaction function */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_load_transaction_library_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, libpath)
ZEND_END_ARG_INFO()
/* }}} k2hpx_load_transaction_library */
/* {{{ proto bool k2hpx_unload_transaction_library()
Unload external transaction function */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_unload_transaction_library_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_unload_transaction_library */
/* {{{ proto bool k2hpx_create(string filepath[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]])
create k2hash file */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_create_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} k2hpx_create */
/* {{{ proto resource k2hhandle k2hpx_open(string filepath, bool readonly[, bool removefile = false[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]]])
open k2hash file */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_open_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, readonly)
ZEND_ARG_INFO(0, removefile)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} k2hpx_open */
/* {{{ proto resource k2hhandle k2hpx_open_rw(string filepath[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]])
open k2hash file with read/write mode */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_open_rw_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} k2hpx_open_rw */
/* {{{ proto resource k2hhandle k2hpx_open_ro(string filepath[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]])
open k2hash file with read only mode */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_open_ro_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} k2hpx_open_ro */
/* {{{ proto resource k2hhandle k2hpx_open_tempfile(string filepath[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]])
open k2hash temporary file */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_open_tempfile_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} k2hpx_open_tempfile */
/* {{{ proto resource k2hhandle k2hpx_open_mem([int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]])
open k2hash on memory */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_open_mem_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} k2hpx_open_mem */
/* {{{ proto bool k2hpx_close(resource k2hhandle handle[, int waitms = 0])
close k2hash file or memory */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_close_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, waitms)
ZEND_END_ARG_INFO()
/* }}} k2hpx_close */
/* {{{ proto bool k2hpx_transaction(resource k2hhandle handle, bool enable[, string transfile = NULL[, string prefix = NULL[, string param = NULL[, int expire = 0]]]])
Set transaction file and prefix with dis/enable */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_transaction_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, enable)
ZEND_ARG_INFO(0, transfile)
ZEND_ARG_INFO(0, prefix)
ZEND_ARG_INFO(0, param)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} k2hpx_transaction */
/* {{{ proto bool k2hpx_enable_transaction(resource k2hhandle handle[, string transfile = NULL[, string prefix = NULL[, string param = NULL[, int expire = 0]]]])
Set transaction file and prefix with enable */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_enable_transaction_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, transfile)
ZEND_ARG_INFO(0, prefix)
ZEND_ARG_INFO(0, param)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} k2hpx_enable_transaction */
/* {{{ proto bool k2hpx_disable_transaction(resource k2hhandle handle)
Disable transaction */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_disable_transaction_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_disable_transaction */
/* {{{ proto int k2hpx_get_transaction_thread_pool()
Get transaction thread pool count */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_get_transaction_thread_pool_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_get_transaction_thread_pool */
/* {{{ proto bool k2h_set_transaction_thread_pool(int count)
Set transaction thread pool count */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_transaction_thread_pool_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, count)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_transaction_thread_pool */
/* {{{ proto bool k2h_unset_transaction_thread_pool()
Unset transaction thread pool(no pool) */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_unset_transaction_thread_pool_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} k2hpx_unset_transaction_thread_pool */
/* {{{ proto bool k2hpx_put_archive(resource k2hhandle handle, string filepath, bool errskip)
Output archive file */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_put_archive_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, errskip)
ZEND_END_ARG_INFO()
/* }}} k2hpx_put_archive */
/* {{{ proto bool k2hpx_load_archive(resource k2hhandle handle, string filepath, bool errskip)
Load archive file */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_load_archive_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, errskip)
ZEND_END_ARG_INFO()
/* }}} k2hpx_load_archive */
/* {{{ proto bool k2hpx_set_common_attr(resource k2hhandle handle[, int is_mtime = K2H_ATTR_DEFAULT[, int is_history = K2H_ATTR_DEFAULT[, int is_encrypt = K2H_ATTR_DEFAULT, string passfile = NULL[, int is_expire = K2H_ATTR_DEFAULT, int expire = 0]]]])
Set common attributes */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_common_attr_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, is_mtime)
ZEND_ARG_INFO(0, is_history)
ZEND_ARG_INFO(0, is_encrypt)
ZEND_ARG_INFO(0, passfile)
ZEND_ARG_INFO(0, is_expire)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_common_attr */
/* {{{ proto bool k2hpx_clean_common_attr(resource k2hhandle handle)
Clear common attributes setting */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_clean_common_attr_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_clean_common_attr */
/* {{{ proto bool k2hpx_add_attr_plugin_library(resource k2hhandle handle, string libfile)
Add plugin attribute module */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_add_attr_plugin_library_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, libfile)
ZEND_END_ARG_INFO()
/* }}} k2hpx_add_attr_plugin_library */
/* {{{ proto bool k2hpx_add_attr_crypt_pass(resource k2hhandle handle, string encpass[, bool is_default_encrypt = false])
Add encrypt pass phrase */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_add_attr_crypt_pass_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, encpass)
ZEND_ARG_INFO(0, is_default_encrypt)
ZEND_END_ARG_INFO()
/* }}} k2hpx_add_attr_crypt_pass */
/* {{{ proto bool k2hpx_print_attr_version(resource k2hhandle handle[, stream output = NULL])
Print all attributes version */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_print_attr_version_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_print_attr_version */
/* {{{ proto bool k2hpx_print_attr_information(resource k2hhandle handle[, stream output = NULL])
Print attributes information */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_print_attr_information_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_print_attr_information */
/* {{{ proto string k2hpx_get_value(resource k2hhandle handle, string key[, string subkey = NULL[, bool attrcheck = true[, string pass = NULL]]])
Get value */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_get_value_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, subkey)
ZEND_ARG_INFO(0, attrcheck)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_get_value */
/* {{{ proto array k2hpx_get_subkeys(resource k2hhandle handle, string key[, bool attrcheck = true])
Get subkeys */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_get_subkeys_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, attrcheck)
ZEND_END_ARG_INFO()
/* }}} k2hpx_get_subkeys */
/* {{{ proto array k2hpx_get_attrs(resource k2hhandle handle, string key)
Get attribute key names */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_get_attrs_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
/* }}} k2hpx_get_attrs */
/* {{{ proto string k2hpx_get_attr_value(resource k2hhandle handle, string key, string attrkey)
Get attribute value */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_get_attr_value_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, attrkey)
ZEND_END_ARG_INFO()
/* }}} k2hpx_get_attr_value */
/* {{{ proto bool k2hpx_set_value(resource k2hhandle handle, string key, string value[, string subkey = NULL[, string pass=NULL[, int expire=0]]])
Set value */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_set_value_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, value)
ZEND_ARG_INFO(0, subkey)
ZEND_ARG_INFO(0, pass)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} k2hpx_set_value */
/* {{{ proto bool k2hpx_add_subkey(resource k2hhandle handle, string key, string subkey)
Set subkey */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_add_subkey_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, subkey)
ZEND_END_ARG_INFO()
/* }}} k2hpx_add_subkey */
/* {{{ proto bool k2hpx_add_subkeys(resource k2hhandle handle, string key, array& subkeys)
Set subkeys */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_add_subkeys_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_ARRAY_INFO(1, subkeys, 1)
ZEND_END_ARG_INFO()
/* }}} k2hpx_add_subkeys */
/* {{{ proto bool k2hpx_add_attr(resource k2hhandle handle, string key, string attrkey, string attrval)
Add attribute */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_add_attr_arg_info, 0, ZEND_RETURN_VALUE, 4)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, attrkey)
ZEND_ARG_INFO(0, attrval)
ZEND_END_ARG_INFO()
/* }}} k2hpx_add_attr */
/* {{{ proto bool k2hpx_remove_all(resource k2hhandle handle, string key)
remove key */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_remove_all_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
/* }}} k2hpx_remove_all */
/* {{{ proto bool k2hpx_remove(resource k2hhandle handle, string key[, string subkey = NULL])
remove key or subkey in key */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_remove_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, subkey)
ZEND_END_ARG_INFO()
/* }}} k2hpx_remove */
/* {{{ proto bool k2hpx_rename(resource k2hhandle handle, string key, string newkey)
rename key name */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_rename_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, newkey)
ZEND_END_ARG_INFO()
/* }}} k2hpx_rename */
/* {{{ proto resource k2hfindhandle k2hpx_find_first(resource k2hhandle handle[, string key = NULL])
Get resource k2hfindhandle handle for searching key(or subkey) */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_find_first_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
/* }}} k2hpx_find_first */
/* {{{ proto resource k2hfindhandle k2hpx_find_next(resource k2hfindhandle findhandle)
Get next resource k2hfindhandle handle for searching key(or subkey) */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_find_next_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, findhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_find_next */
/* {{{ proto bool k2hpx_find_free(resource k2hfindhandle findhandle)
close resource k2hfindhandle handle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_find_free_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, findhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_find_free */
/* {{{ proto string k2hpx_find_get_key(resource k2hfindhandle findhandle)
Get key by resource k2hfindhandle handle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_find_get_key_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, findhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_find_get_key */
/* {{{ proto string k2hpx_find_get_value(resource k2hfindhandle findhandle)
Get value by resource k2hfindhandle handle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_find_get_value_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, findhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_find_get_value */
/* {{{ proto array k2hpx_find_get_subkeys(resource k2hfindhandle findhandle)
Get subkeys by resource k2hfindhandle handle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_find_get_subkeys_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, findhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_find_get_subkeys */
/* {{{ proto resource k2hdahandle k2hpx_da_get_handle(resource k2hhandle handle, string key, int mode)
Get key handle for accessing directly */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_handle_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_handle */
/* {{{ proto resource k2hdahandle k2hpx_da_get_handle_read(resource k2hhandle handle, string key)
Get key handle for readable accessing directly */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_handle_read_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_handle_read */
/* {{{ proto resource k2hdahandle k2hpx_da_get_handle_write(resource k2hhandle handle, string key)
Get key handle for writable accessing directly */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_handle_write_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_handle_write */
/* {{{ proto resource k2hdahandle k2hpx_da_get_handle_rw(resource k2hhandle handle, string key)
Get key handle for readable and writable accessing directly */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_handle_rw_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_handle_rw */
/* {{{ proto bool k2hpx_da_free(resource k2hdahandle dahandle)
close key handle for accessing directly */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_free_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_free */
/* {{{ proto int k2hpx_da_get_length(resource k2hdahandle dahandle)
Get value length */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_length_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_length */
/* {{{ proto array k2hpx_da_get_offset(resource k2hdahandle dahandle)
Get offset for reading/writing pos */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_offset_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_offset */
/* {{{ proto int k2hpx_da_get_read_offset(resource k2hdahandle dahandle)
Get offset for reading pos */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_read_offset_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_read_offset */
/* {{{ proto int k2hpx_da_get_write_offset(resource k2hdahandle dahandle)
Get offset for reading pos */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_write_offset_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_write_offset */
/* {{{ proto bool k2hpx_da_set_offset(resource k2hdahandle dahandle, array& offsets)
Set offset for reading/writing pos */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_set_offset_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_ARRAY_INFO(1, offsets, 1)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_set_offset */
/* {{{ proto bool k2hpx_da_set_read_offset(resource k2hdahandle dahandle, int offset)
Set offset for reading pos */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_set_read_offset_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_set_read_offset */
/* {{{ proto bool k2hpx_da_set_write_offset(resource k2hdahandle dahandle, int offset)
Set offset for writing pos */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_set_write_offset_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_set_write_offset */
/* {{{ proto string k2hpx_da_get_value(resource k2hdahandle dahandle[, int offset = -1])
Get value from offset */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_value_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_value */
/* {{{ proto bool k2hpx_da_get_value_to_file(resource k2hdahandle dahandle, string filepath[, int length = -1[, int offset = -1]])
Get value into the file from offset */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_get_value_to_file_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, length)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_get_value_to_file */
/* {{{ proto bool k2hpx_da_set_value(resource k2hdahandle dahandle, string value[, int offset = -1])
Set value from offset */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_set_value_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_INFO(0, value)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_set_value */
/* {{{ proto bool k2hpx_da_set_value_from_file(resource k2hdahandle dahandle, string filepath[, int length = -1[, int offset = -1]])
Set value from the file into offset */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_da_set_value_from_file_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, dahandle_res)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, length)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
/* }}} k2hpx_da_set_value_from_file */
/* {{{ proto resource k2hqhandle k2hpx_q_handle(resource k2hhandle handle[, bool is_fifo = true[, string prefix = NULL]])
Get resource k2hqhandle for k2hash */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_handle_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, is_fifo)
ZEND_ARG_INFO(0, prefix)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_handle */
/* {{{ proto bool k2hpx_q_free(resource k2hqhandle qhandle)
close resource k2hqhandle handle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_free_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, qhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_free */
/* {{{ proto bool k2hpx_q_empty(resource k2hqhandle qhandle)
Check queue empty */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_empty_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, qhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_empty */
/* {{{ proto int k2hpx_q_count(resource k2hqhandle qhandle)
Get data count in queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_count_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, qhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_count */
/* {{{ proto string k2hpx_q_read(resource k2hqhandle qhandle[, int pos = 0[, string pass=NULL]])
Get data from queue at position without removing */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_read_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, qhandle)
ZEND_ARG_INFO(0, pos)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_read */
/* {{{ proto bool k2hpx_q_push(resource k2hqhandle qhandle, string datavalue[, string pass=NULL[, int expire=0]])
push data to queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_push_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, qhandle)
ZEND_ARG_INFO(0, datavalue)
ZEND_ARG_INFO(0, pass)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_push */
/* {{{ proto string k2hpx_q_pop(resource k2hqhandle qhandle[, string pass=NULL])
pop data from queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_pop_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, qhandle)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_pop */
/* {{{ proto bool k2hpx_q_remove(resource k2hqhandle qhandle, int count[, string pass=NULL])
remove count data from queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_remove_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, qhandle)
ZEND_ARG_INFO(0, count)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_remove */
/* {{{ proto bool k2hpx_q_dump(resource k2hqhandle qhandle[, stream output = NULL])
dump queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_q_dump_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, qhandle)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_q_dump */
/* {{{ proto resource k2hkeyqhandle k2hpx_keyq_handle(resource k2hhandle handle[, bool is_fifo = true[, string prefix = NULL]])
Get resource k2hkeyqhandle for k2hash */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_handle_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, is_fifo)
ZEND_ARG_INFO(0, prefix)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_handle */
/* {{{ proto bool k2hpx_keyq_free(resource k2hkeyqhandle keyqhandle)
close resource k2hkeyqhandle handle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_free_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_free */
/* {{{ proto bool k2hpx_keyq_empty(resource k2hkeyqhandle keyqhandle)
Check key queue empty */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_empty_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_empty */
/* {{{ proto int k2hpx_keyq_count(resource k2hkeyqhandle keyqhandle)
Get data count in key queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_count_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_count */
/* {{{ proto array k2hpx_keyq_read(resource k2hkeyqhandle keyqhandle[, int pos = 0[, string pass=NULL]])
Get key and value from key queue at position without removing. */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_read_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_ARG_INFO(0, pos)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_read */
/* {{{ proto bool k2hpx_keyq_push(resource k2hkeyqhandle keyqhandle, string key, string value[, string pass=NULL[, int expire=0]])
push key and value to key queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_push_arg_info, 0, ZEND_RETURN_VALUE, 3)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, value)
ZEND_ARG_INFO(0, pass)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_push */
/* {{{ proto array k2hpx_keyq_pop(resource k2hkeyqhandle keyqhandle[, string pass=NULL])
pop key and value from queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_pop_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_pop */
/* {{{ proto bool k2hpx_keyq_remove(resource k2hkeyqhandle keyqhandle, int count[, string pass=NULL])
remove count data from queue by k2hkeyqhandle */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_remove_arg_info, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_ARG_INFO(0, count)
ZEND_ARG_INFO(0, pass)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_remove */
/* {{{ proto bool k2hpx_keyq_dump(resource k2hkeyqhandle keyqhandle[, stream output = NULL])
dump key queue */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_keyq_dump_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, keyqhandle)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_keyq_dump */
/* {{{ proto bool k2hpx_dump_head(resource k2hhandle handle[, stream output = NULL])
dump k2hash internal head area */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_dump_head_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_dump_head */
/* {{{ proto bool k2hpx_dump_keytable(resource k2hhandle handle[, stream output = NULL])
dump k2hash internal keytable area */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_dump_keytable_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_dump_keytable */
/* {{{ proto bool k2hpx_dump_full_keytable(resource k2hhandle handle[, stream output = NULL])
dump k2hash internal full keytable area */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_dump_full_keytable_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_dump_full_keytable */
/* {{{ proto bool k2hpx_dump_elementtable(resource k2hhandle handle[, stream output = NULL])
dump k2hash internal elementtable area */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_dump_elementtable_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_dump_elementtable */
/* {{{ proto bool k2hpx_dump_full(resource k2hhandle handle[, stream output = NULL])
dump k2hash internal hole area */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_dump_full_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_dump_full */
/* {{{ proto bool k2hpx_print_state(resource k2hhandle handle[, stream output = NULL])
Print k2hash data status */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_print_state_arg_info, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, handle_res)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_print_state */
/* {{{ proto bool k2hpx_print_version([stream output = NULL])
Print k2hash library version */
ZEND_BEGIN_ARG_INFO_EX(k2hpx_print_version_arg_info, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} k2hpx_print_version */
/* {{{ proto bool create(string filepath[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]])
K2hash::create method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_create, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} create */
/* {{{ proto bool open(string filepath, bool readonly[, bool removefile = false[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]]])
K2hash::open method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_open, 0, ZEND_RETURN_VALUE, 2)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, readonly)
ZEND_ARG_INFO(0, removefile)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} open */
/* {{{ proto bool openRW(string filepath[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]])
K2hash::openRW method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_openRW, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} openRW */
/* {{{ proto bool openRO(string filepath[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]])
K2hash::openRO method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_openRO, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} openRO */
/* {{{ proto bool openTempfile(string filepath[, bool fullmap = true[, int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]]])
K2hash::openTempfile method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_openTempfile, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, fullmap)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} openTempfile */
/* {{{ proto bool openMem([int maskbitcnt = K2H_DEF_MASK_BIT[, int cmaskbitcnt = K2H_DEF_CMASK_BIT[, int maxelementcnt = K2H_DEF_ELEMENT[, int pagesize = K2H_DEF_PAGESIZE]]]])
K2hash::openMem method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_openMem, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, maskbitcnt)
ZEND_ARG_INFO(0, cmaskbitcnt)
ZEND_ARG_INFO(0, maxelementcnt)
ZEND_ARG_INFO(0, pagesize)
ZEND_END_ARG_INFO()
/* }}} openMem */
/* {{{ proto bool close([int waitms = 0])
K2hash::close method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_close, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, waitms)
ZEND_END_ARG_INFO()
/* }}} close */
/* {{{ proto bool transaction(bool enable[, string transfile = NULL[, string prefix = NULL[, string param = NULL[, int expire = 0]]]])
K2hash::transaction method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_transaction, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, enable)
ZEND_ARG_INFO(0, transfile)
ZEND_ARG_INFO(0, prefix)
ZEND_ARG_INFO(0, param)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} transaction */
/* {{{ proto bool enableTransaction([string transfile = NULL[, string prefix = NULL[, string param = NULL[, int expire = 0]]]])
K2hash::enableTransaction method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_enableTransaction, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, transfile)
ZEND_ARG_INFO(0, prefix)
ZEND_ARG_INFO(0, param)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} enableTransaction */
/* {{{ proto bool disableTransaction()
K2hash::disableTransaction method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_disableTransaction, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} disableTransaction */
/* {{{ proto int getTransactionThreadPool()
K2hash::getTransactionThreadPool method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_getTransactionThreadPool, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} getTransactionThreadPool */
/* {{{ proto bool setTransactionThreadPool(int count)
K2hash::getTransactionThreadPool method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_setTransactionThreadPool, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, count)
ZEND_END_ARG_INFO()
/* }}} setTransactionThreadPool */
/* {{{ proto bool unsetTransactionThreadPool()
K2hash::unsetTransactionThreadPool method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_unsetTransactionThreadPool, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} unsetTransactionThreadPool */
/* {{{ proto bool putArchive(string filepath[, bool errskip = true])
K2hash::putArchive method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_putArchive, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, errskip)
ZEND_END_ARG_INFO()
/* }}} putArchive */
/* {{{ proto bool loadArchive(string filepath[, bool errskip = true])
K2hash::loadArchive method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_loadArchive, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, filepath)
ZEND_ARG_INFO(0, errskip)
ZEND_END_ARG_INFO()
/* }}} loadArchive */
/* {{{ proto bool setCommonAttribute([int is_mtime = K2H_ATTR_DEFAULT[, int is_history = K2H_ATTR_DEFAULT[, int is_encrypt = K2H_ATTR_DEFAULT, string passfile = NULL[, int is_expire = K2H_ATTR_DEFAULT, int expire = 0]]]])
K2hash::setCommonAttribute method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_setCommonAttribute, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, is_mtime)
ZEND_ARG_INFO(0, is_history)
ZEND_ARG_INFO(0, is_encrypt)
ZEND_ARG_INFO(0, passfile)
ZEND_ARG_INFO(0, is_expire)
ZEND_ARG_INFO(0, expire)
ZEND_END_ARG_INFO()
/* }}} setCommonAttribute */
/* {{{ proto bool cleanCommonAttribute()
K2hash::cleanCommonAttribute method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_cleanCommonAttribute, 0, ZEND_RETURN_VALUE, 0)
ZEND_END_ARG_INFO()
/* }}} cleanCommonAttribute */
/* {{{ proto bool addAttrPluginLib(string libfile)
K2hash::addAttrPluginLib method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_addAttrPluginLib, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, libfile)
ZEND_END_ARG_INFO()
/* }}} addAttrPluginLib */
/* {{{ proto bool addAttrCryptPass(string encpass[, bool is_default_encrypt = false])
K2hash::addAttrCryptPass method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_addAttrCryptPass, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, encpass)
ZEND_ARG_INFO(0, is_default_encrypt)
ZEND_END_ARG_INFO()
/* }}} addAttrCryptPass */
/* {{{ proto bool getAttrVersionInfos([stream output = NULL])
K2hash::getAttrVersionInfos method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_getAttrVersionInfos, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()
/* }}} getAttrVersionInfos */
/* {{{ proto bool getAttrInfos([stream output = NULL])
K2hash::getAttrInfos method */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_K2hash_getAttrInfos, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, output)
ZEND_END_ARG_INFO()