forked from cory/tildefriends
ssb: Don't require -u for the private command. #119
This commit is contained in:
@ -249,6 +249,14 @@ void tf_ssb_db_identity_visit(tf_ssb_t* ssb, const char* user, void (*callback)(
|
||||
*/
|
||||
void tf_ssb_db_identity_visit_all(tf_ssb_t* ssb, void (*callback)(const char* identity, void* user_data), void* user_data);
|
||||
|
||||
/**
|
||||
** Get the user owning an identity.
|
||||
** @param ssb The SSB instance.
|
||||
** @param public_key the identity.
|
||||
** @return The username of the owner of the identity or NULL.
|
||||
*/
|
||||
const char* tf_ssb_db_get_user_for_identity(tf_ssb_t* ssb, const char* public_key);
|
||||
|
||||
/**
|
||||
** Get the private key for an identity in the database.
|
||||
** @param ssb The SSB instance.
|
||||
|
Reference in New Issue
Block a user