aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index efecdf1ad6f9..f3c5a18c6249 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.h,v 1.110 2024/09/25 01:24:04 djm Exp $ */
+/* $OpenBSD: misc.h,v 1.112 2025/09/25 06:33:19 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -108,10 +108,12 @@ int parse_pattern_interval(const char *, char **, int *);
int path_absolute(const char *);
int stdfd_devnull(int, int, int);
int lib_contains_symbol(const char *, const char *);
+char *get_homedir(void);
void sock_set_v6only(int);
struct passwd *pwcopy(struct passwd *);
+void pwfree(struct passwd *); /* NB. only use with pwcopy */
const char *ssh_gai_strerror(int);
typedef void privdrop_fn(struct passwd *);
@@ -231,6 +233,11 @@ int ptimeout_get_ms(struct timespec *pt);
struct timespec *ptimeout_get_tsp(struct timespec *pt);
int ptimeout_isset(struct timespec *pt);
+/* misc-agent.c */
+char *agent_hostname_hash(void);
+int agent_listener(const char *, const char *, int *, char **);
+void agent_cleanup_stale(const char *, int);
+
/* readpass.c */
#define RP_ECHO 0x0001