Hello hackforums, just reaching out to see if any experienced c coders could help me with this. I'm trying to compile with libssh and i'm receiving these errors.
Code
prg.c:23:11: error: unknown type name ‘SSH_SESSION’
int shell(SSH_SESSION* session)
^
prg.c: In function ‘checkauth’:
prg.c:54:5: error: unknown type name ‘SSH_SESSION’
SSH_SESSION* session;
^
prg.c:55:5: error: unknown type name ‘SSH_OPTIONS’
SSH_OPTIONS* options;
^
prg.c:67:59: error: ‘AUTH_SUCCESS’ undeclared (first use in this function)
if (ssh_userauth_password(session, NULL, password) != AUTH_SUCCESS) {
^
prg.c:67:59: note: each undeclared identifier is reported only once for each function it appears in
