1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/unix/uxstore.c
Simon Tatham 6d0e9b205d First phase of porting. pterm now compiles and runs under Linux+gtk.
The current pty.c backend is temporarily a loopback device for
terminal emulator testing, the display handling is only just enough
to show that terminal.c is functioning, the keyboard handling is
laughable, and most features are absent. Next step: bring output and
input up to a plausibly working state, and put a real pty on the
back to create a vaguely usable prototype. Oh, and a scrollbar would
be nice too.
In _theory_ the Windows builds should still work fine after this...

[originally from svn r2010]
2002-10-09 18:09:42 +00:00

87 lines
1.3 KiB
C

/*
* uxstore.c: Unix-specific implementation of the interface defined
* in storage.h.
*/
#include <stdio.h>
#include <stdlib.h>
#include "putty.h"
#include "storage.h"
/* FIXME. For the moment, we do nothing at all here. */
void *open_settings_w(char *sessionname)
{
return NULL;
}
void write_setting_s(void *handle, char *key, char *value)
{
}
void write_setting_i(void *handle, char *key, int value)
{
}
void close_settings_w(void *handle)
{
}
void *open_settings_r(char *sessionname)
{
return NULL;
}
char *read_setting_s(void *handle, char *key, char *buffer, int buflen)
{
return NULL;
}
int read_setting_i(void *handle, char *key, int defvalue)
{
return defvalue;
}
void close_settings_r(void *handle)
{
}
void del_settings(char *sessionname)
{
}
void *enum_settings_start(void)
{
return NULL;
}
char *enum_settings_next(void *handle, char *buffer, int buflen)
{
return NULL;
}
void enum_settings_finish(void *handle)
{
}
int verify_host_key(char *hostname, int port, char *keytype, char *key)
{
return 1; /* key does not exist in registry */
}
void store_host_key(char *hostname, int port, char *keytype, char *key)
{
}
void read_random_seed(noise_consumer_t consumer)
{
}
void write_random_seed(void *data, int len)
{
}
void cleanup_all(void)
{
}