First attempt at a Unix port of Plink. Seems to basically work;
[u/mdw/putty] / unix / uxagentc.c
1 /*
2 * SSH agent client code.
3 */
4
5 #include <stdio.h>
6 #include <stdlib.h>
7
8 #include "misc.h"
9 #include "puttymem.h"
10
11 #define GET_32BIT(cp) \
12 (((unsigned long)(unsigned char)(cp)[0] << 24) | \
13 ((unsigned long)(unsigned char)(cp)[1] << 16) | \
14 ((unsigned long)(unsigned char)(cp)[2] << 8) | \
15 ((unsigned long)(unsigned char)(cp)[3]))
16
17 int agent_exists(void)
18 {
19 return FALSE; /* FIXME */
20 }
21
22 void agent_query(void *in, int inlen, void **out, int *outlen)
23 {
24 /* FIXME */
25 }