summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h14
-rw-r--r--source3/include/vagent.h4
2 files changed, 10 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5e423e3726..0cea6792c6 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -138,12 +138,6 @@ BOOL allow_access(char *deny_list,char *allow_list,
char *cname,char *caddr);
BOOL check_access(int sock, char *allow_list, char *deny_list);
-/*The following definitions come from lib/agent.c */
-
-void init_sock_redir(struct vagent_ops*va);
-void free_sock_redir(struct vagent_ops*va);
-void start_agent(struct vagent_ops *va);
-
/*The following definitions come from lib/bitmap.c */
struct bitmap *bitmap_allocate(int n);
@@ -620,6 +614,8 @@ void reset_globals_after_fork(void);
char *client_name(int fd);
char *client_addr(int fd);
int open_pipe_sock(char *path);
+int create_pipe_socket(char *dir, int dir_perms,
+ char *path, int path_perms);
/*The following definitions come from lib/util_status.c */
@@ -681,6 +677,12 @@ BOOL copy_unistr2(UNISTR2 *str, const UNISTR2 *from);
UNISTR2 *unistr2_dup(const UNISTR2 *name);
void unistr2_free(UNISTR2 *name);
+/*The following definitions come from lib/vagent.c */
+
+void init_sock_redir(struct vagent_ops*va);
+void free_sock_redir(struct vagent_ops*va);
+void start_agent(struct vagent_ops *va);
+
/*The following definitions come from libsmb/clientgen.c */
void copy_user_creds(struct user_credentials *to,
diff --git a/source3/include/vagent.h b/source3/include/vagent.h
index 19bb976635..c8b85181e4 100644
--- a/source3/include/vagent.h
+++ b/source3/include/vagent.h
@@ -36,14 +36,14 @@ struct sock_redir
struct vagent_ops
{
void (*free_sock)(void* sock);
- int (*get_agent_sock)(void* id);
+ int (*get_agent_sock)(char* id);
BOOL (*process_cli_sock)(struct sock_redir **socks, uint32 num_socks,
struct sock_redir *sock);
BOOL (*process_srv_sock)(struct sock_redir **socks, uint32 num_socks,
int fd);
- void* id;
+ char* id;
struct sock_redir **socks;
uint32 num_socks;
};