📄 saacproto_cli.c
字号:
table = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBUpdateEntryString_recv( fd,result,table,key,msgid,msgid2); return 0; }/*379 : <LI><a name="DBDeleteEntryStringS"><font color=blue>servertoclient DBDeleteEntryString( string result, string table, string key , int msgid , int msgid2 );</font></a><BR>380 : 侬 巨件玄伉及绰轮及瑛绊381 : <dl>382 : <dt>string result383 : <dd>successful / failed384 : <dt>string table385 : <dd>386 : <dt>string key387 : <dd>388 : <dt>int msgid389 : <dd>390 : <dt>int msgid2391 : <dd> 392 : </dl>393 : */ if( strcmp( funcname , "DBDeleteEntryString" ) == 0 ){ char* result; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBDeleteEntryString_recv( fd,result,table,key,msgid,msgid2); return 0; }/*406 : <Li><a name="DBGetEntryStringS"><font color=blue>servertoclient DBGetEntryString( string result, string value, string table, string key, int msgid, int msgid2 );</font></a><BR>407 : 潸曰分仄及忒曰袄408 : <dl>409 : <dt>string result410 : <dd>successful / failed411 : <dt>string value412 : <dd>袄413 : <dt>string table414 : <dd> 415 : <dt>string key416 : <dd>417 : <dt>int msgid418 : <dd>419 : <dt>int msgid2420 : <dd> 421 : </dl>422 : */ if( strcmp( funcname , "DBGetEntryString" ) == 0 ){ char* result; char* value; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); value = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); msgid = saacproto_demkstr_int( saacproto.token_list[6] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[7] ); saacproto_DBGetEntryString_recv( fd,result,value,table,key,msgid,msgid2); return 0; }/*445 : <LI><a name="DBUpdateEntryIntS"><font color=blue>servertoclient DBUpdateEntryInt( string result , string table, string key, int msgid, int msgid2 );</font></a><BR>446 : DBUpdateEntry及瑛绊[447 : <dl>448 : <dt>string result449 : <dd>succesful/failed450 : <dt>string table451 : <dd> □皮伙 毛公及引引井尹允452 : <dt>string key453 : <dd>平□毛公及引引井尹允 454 : <dt>int msgid, int msgid2455 : <dd>msgid 毛公及引引忒允[456 : </dl>457 : <BR><BR>458 : */ if( strcmp( funcname , "DBUpdateEntryInt" ) == 0 ){ char* result; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBUpdateEntryInt_recv( fd,result,table,key,msgid,msgid2); return 0; }/*473 : <LI><a name="DBGetEntryRankS"><font color=blue>servertoclient DBGetEntryRank( string result , int rank , int count, string table, string key, int msgid, int msgid2 );</font></a><BR>474 : 赐匏毛忒允[475 : <dl>476 : <dt>string result477 : <dd>successful/failed478 : <dt>int rank479 : <dd>赐匏[1动晓及袄毛潸月[480 : <dt>int count481 : <dd>晓井日中仁勾户井[ 赓及巨件玄伉反0井日反元引月[482 : <dt>string table483 : <dd> □皮伙 毛公及引引井尹允484 : <dt>string key485 : <dd>平□毛公及引引井尹允486 : <dt>int msgid, int msgid2487 : <dd>msgid 毛公及引引忒允488 : </dl>489 : <BR><BR>490 : 491 : */ if( strcmp( funcname , "DBGetEntryRank" ) == 0 ){ char* result; int rank; int count; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); rank = saacproto_demkstr_int( saacproto.token_list[3] ); count = saacproto_demkstr_int( saacproto.token_list[4] ); table = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[5] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[6] )); msgid = saacproto_demkstr_int( saacproto.token_list[7] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[8] ); saacproto_DBGetEntryRank_recv( fd,result,rank,count,table,key,msgid,msgid2); return 0; }/*504 : <LI><a name="DBDeleteEntryIntS"><font color=blue>servertoclient DBDeleteEntryInt( string result , string table, string key, int msgid, int msgid2 );</font></a><BR>505 : 绰轮及瑛绊506 : <dl>507 : <dt>string result508 : <dd>successful/failed509 : <dt>string table510 : <dd> □皮伙 毛公及引引井尹允511 : <dt>string key512 : <dd>平□毛公及引引井尹允513 : <dt>int msgid, int msgid2514 : <dd>msgid 毛公及引引忒允515 : </dl>516 : <BR><BR>517 : */ if( strcmp( funcname , "DBDeleteEntryInt" ) == 0 ){ char* result; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBDeleteEntryInt_recv( fd,result,table,key,msgid,msgid2); return 0; }/*530 : <LI><a name="DBGetEntryIntS"><font color=blue>servertoclient DBGetEntryInt( string result , int value , string table, string key, int msgid, int msgid2 );</font></a><BR>531 : 巨件玄伉及袄毛井尹允532 : <dl>533 : <dt>string result534 : <dd>successful/failed535 : <dt>int value536 : <dd>袄公及手及537 : <dt>string table538 : <dd> □皮伙 毛公及引引井尹允539 : <dt>string key540 : <dd>平□毛公及引引井尹允541 : <dt>int msgid, int msgid2542 : <dd>msgid 毛公及引引忒允543 : </dl>544 : 545 : 546 : */ if( strcmp( funcname , "DBGetEntryInt" ) == 0 ){ char* result; int value; char* table; char* key; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); value = saacproto_demkstr_int( saacproto.token_list[3] ); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); key = saacproto_wrapStringAddr( saacproto_stringwrapper[4] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[5] )); msgid = saacproto_demkstr_int( saacproto.token_list[6] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[7] ); saacproto_DBGetEntryInt_recv( fd,result,value,table,key,msgid,msgid2); return 0; }/*562 : <LI><a name="DBGetEntryByRankS"><font color=blue>servertoclient DBGetEntryByRank( string result , string list , string table, int msgid, int msgid2 );</font></a><BR>563 : DBGetEntryByRank及瑛绊[564 : <dl>565 : <dt>string result566 : <dd>567 : <dt>string list568 : <dd>"RANK,KEY,SCORE,INFO|RANK,KEY,SCORE,INFO|...."<BR>569 : RANK反赐匏匹丐月[KEY反公及赐匏卞卅匀化中月旦戊失毛手匀化中月570 : 平□[SCORE反帮醒袄匹旦戊失匹丐月[571 : [<br>572 : "1,RINGO,123465,data1|2,HOGE,4567,data2|2,FUCK,4567,data3"<BR>573 : 仇及 分午}2匏反2谛中月仇午卞卅月[574 : <dt>string table575 : <dd> □皮伙 576 : <dt>int msgid, int msgid2577 : <dd>578 : </dl>579 : 580 : */ if( strcmp( funcname , "DBGetEntryByRank" ) == 0 ){ char* result; char* list; char* table; int msgid; int msgid2; result = saacproto_wrapStringAddr( saacproto_stringwrapper[1] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[2] )); list = saacproto_wrapStringAddr( saacproto_stringwrapper[2] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[3] )); table = saacproto_wrapStringAddr( saacproto_stringwrapper[3] , saacproto.workbufsize , saacproto_demkstr_string( saacproto.token_list[4] )); msgid = saacproto_demkstr_int( saacproto.token_list[5] ); msgid2 = saacproto_demkstr_int( saacproto.token_list[6] ); saacproto_DBGetEntryByRank_recv( fd,result,list,table,msgid,msgid2); return 0; }/*593 : <LI><a name="DBGetEntryByCountS"><font color=blue>servertoclient DBGetEntryByCount( string result , string list , string table, int count_start, int msgid, int msgid2 );</font></a><BR>594 : DBGetEntryByCount 及瑛绊[595 : <dl>596 : <dt>string result597 : <dd>SUCCESSFUL/FAILED598 : <dt>string list599 : <dd>请 伉旦玄[1巨件玄伉丐凶曰 "INDEX,RANK,KEY,SCORE,INFO" 及4蜊及树 600 : 及赚匹丐曰}公木互蜊醒坌 "|" 匹勾卅互月[蜊醒互0及桦宁反601 : 坞 侬 [602 : <dt>int num603 : <dd>中仁勾午曰分允井[1卅日1蜊[2卅日2蜊[604 : <dt>int msgid ,msgid2605 : <dd>丢永本□斥ID. 606 : </dL>607 : */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -