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

Method callback

examples/dbcrypt/CryptApplication.cpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{
34public:
35 unsigned int callback(unsigned int, const void*, unsigned int length, void* buffer)
36 {
37 if (length > 0 && buffer)
38 {
39 memcpy(buffer, &k, 1);
40 fprintf(stderr, "\nTransfered key to server\n");
41 }
42 return 1;
43 }
44
45 int getHashLength(Firebird::CheckStatusWrapper* status) override
46 {

Callers 1

setKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected