summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f4734fb)
Nothing else links to keyd.o, but these functions are internal so mark
them static.
static struct keyd_stats *stats;
static struct keyd_stats *stats;
+static void daemonize(void)
-void iteratefunc(void *ctx, struct openpgp_publickey *key)
+static void iteratefunc(void *ctx, struct openpgp_publickey *key)
{
struct openpgp_packet_list *packets = NULL;
struct openpgp_packet_list *list_end = NULL;
{
struct openpgp_packet_list *packets = NULL;
struct openpgp_packet_list *list_end = NULL;
-int sock_init(const char *sockname)
+static int sock_init(const char *sockname)
{
struct sockaddr_un sock;
int fd = -1;
{
struct sockaddr_un sock;
int fd = -1;
-int sock_do(struct onak_dbctx *dbctx, int fd)
+static int sock_do(struct onak_dbctx *dbctx, int fd)
{
uint32_t cmd = KEYD_CMD_UNKNOWN;
ssize_t bytes = 0;
{
uint32_t cmd = KEYD_CMD_UNKNOWN;
ssize_t bytes = 0;
+static int sock_close(int fd)
{
shutdown(fd, SHUT_RDWR);
return close(fd);
}
{
shutdown(fd, SHUT_RDWR);
return close(fd);
}
+static int sock_accept(int fd)
{
struct sockaddr_un sock;
socklen_t socklen;
{
struct sockaddr_un sock;
socklen_t socklen;