df2e80c8b4
Linux and Mac OS X systems to access files exported from a Mac OS system with AFP over TCP. WWW: http://sourceforge.net/projects/afpfs-ng/ PR: ports/172780 Submitted by: Manuel Creach <manuel.creach@icloud.com>
54 lines
1.3 KiB
C
54 lines
1.3 KiB
C
--- include/libafpclient.h.orig 2008-01-30 04:37:59.000000000 +0000
|
|
+++ include/libafpclient.h 2012-10-14 13:11:34.000000000 +0000
|
|
@@ -1,50 +0,0 @@
|
|
-
|
|
-#ifndef __CLIENT_H_
|
|
-#define __CLIENT_H_
|
|
-
|
|
-#include <unistd.h>
|
|
-#include <syslog.h>
|
|
-
|
|
-#define MAX_CLIENT_RESPONSE 2048
|
|
-
|
|
-
|
|
-enum loglevels {
|
|
- AFPFSD,
|
|
-};
|
|
-
|
|
-struct afp_server;
|
|
-struct afp_volume;
|
|
-
|
|
-struct libafpclient {
|
|
- int (*unmount_volume) (struct afp_volume * volume);
|
|
- void (*log_for_client)(void * priv,
|
|
- enum loglevels loglevel, int logtype, const char *message);
|
|
- void (*forced_ending_hook)(void);
|
|
- int (*scan_extra_fds)(int command_fd,fd_set *set, int * max_fd);
|
|
- void (*loop_started)(void);
|
|
-} ;
|
|
-
|
|
-extern struct libafpclient * libafpclient;
|
|
-
|
|
-void libafpclient_register(struct libafpclient * tmpclient);
|
|
-
|
|
-
|
|
-void signal_main_thread(void);
|
|
-
|
|
-/* These are logging functions */
|
|
-
|
|
-#define MAXLOGSIZE 2048
|
|
-
|
|
-#define LOG_METHOD_SYSLOG 1
|
|
-#define LOG_METHOD_STDOUT 2
|
|
-
|
|
-void set_log_method(int m);
|
|
-
|
|
-
|
|
-void log_for_client(void * priv,
|
|
- enum loglevels loglevel, int logtype, char * message,...);
|
|
-
|
|
-void stdout_log_for_client(void * priv,
|
|
- enum loglevels loglevel, int logtype, const char *message);
|
|
-
|
|
-#endif
|
|
diff -Naur afpfs-ng-0.8.1.orig/include/map_def.h afpfs-ng-0.8.1/include/map_def.h
|