H A D | keystore.cpp | 512 static int recv_code(int sock, int8_t* code) { argument 513 return recv(sock, code, 1, 0) == 1; 516 static int recv_message(int sock, uint8_t* message, int length) { argument 518 if (recv(sock, &bytes[0], 1, 0) != 1 || 519 recv(sock, &bytes[1], 1, 0) != 1) { 529 int n = recv(sock, &message[offset], length - offset, 0); 539 static int recv_end_of_file(int sock) { argument 541 return recv(sock, &byte, 1, 0) == 0; 544 static void send_code(int sock, int8_t code) { argument 545 send(sock, 548 send_message(int sock, uint8_t* message, int length) argument 564 test(KeyStore* keyStore, int sock, uid_t uid, Value*, Value*) argument 568 get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*) argument 581 insert(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value* val) argument 588 del(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*) argument 594 exist(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*) argument 603 saw(KeyStore* keyStore, int sock, uid_t uid, Value* keyPrefix, Value*) argument 624 reset(KeyStore* keyStore, int sock, uid_t uid, Value*, Value*) argument 634 password(KeyStore* keyStore, int sock, uid_t uid, Value* pw, Value*) argument 652 lock(KeyStore* keyStore, int sock, uid_t uid, Value*, Value*) argument 657 unlock(KeyStore* keyStore, int sock, uid_t uid, Value* pw, Value* unused) argument 661 zero(KeyStore* keyStore, int sock, uid_t uid, Value*, Value*) argument 718 process(KeyStore* keyStore, int sock, uid_t uid, int8_t code) argument 777 int sock; local [all...] |