MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / gen_request

Function gen_request

src/gpre/int_cxx.cpp:491–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489//
490
491static void gen_request( const gpre_req* request)
492{
493
494 if (!(request->req_flags & REQ_exp_hand))
495 fprintf(gpreGlob.out_file, "static void\t*%s;\t// request handle \n", request->req_handle);
496
497 fprintf(gpreGlob.out_file, "static const UCHAR\tjrd_%" ULONGFORMAT" [%d] =",
498 request->req_ident, request->req_length);
499 align(INDENT);
500 fprintf(gpreGlob.out_file, "{\t// blr string \n");
501
502 if (gpreGlob.sw_raw)
503 gen_raw(request);
504 else
505 fb_print_blr(request->req_blr, request->req_length, gen_blr, 0, 0);
506
507 printa(INDENT, "};\t// end of blr string \n");
508}
509
510
511//____________________________________________________________

Callers 1

gen_databaseFunction · 0.70

Calls 3

alignFunction · 0.70
gen_rawFunction · 0.70
printaFunction · 0.70

Tested by

no test coverage detected