smbnetfs
0.6.3
About: SMBNetFS is a Linux/FreeBSD filesystem that allow you to use samba/microsoft network in the same manner as the network neighborhood in Microsoft Windows.
![]() ![]() |
#include "config.h"
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include <glib.h>
Go to the source code of this file.
Macros | |
#define | ATTRIB(x) /* no attributes */ |
#define | DEBUG_PRINT(level, fmt, args...) |
#define | DPRINTF(level, fmt, args...) DEBUG_PRINT(level, "%d->%s: " fmt, getpid(), __FUNCTION__, ## args) |
Functions | |
void | common_init (void) |
int | common_set_smbnetfs_debug_level (int level) |
int | common_set_log_file (const char *logfile) |
void | common_debug_print (const char *fmt,...) |
void | common_print_backtrace (void) |
static int | common_get_smbnetfs_debug_level (void) |
Variables | |
int | common_debug_level |
#define DEBUG_PRINT | ( | level, | |
fmt, | |||
args... | |||
) |
#define DPRINTF | ( | level, | |
fmt, | |||
args... | |||
) | DEBUG_PRINT(level, "%d->%s: " fmt, getpid(), __FUNCTION__, ## args) |
void common_debug_print | ( | const char * | fmt, |
... | |||
) |
Definition at line 63 of file common.c.
References common_logfd, and m_common.
|
inlinestatic |
Definition at line 28 of file common.h.
References common_debug_level.
Referenced by process_start_new_smb_conn(), smb_conn_process_query_lowlevel_va(), and smb_conn_send_password_base().
void common_init | ( | void | ) |
void common_print_backtrace | ( | void | ) |
int common_set_log_file | ( | const char * | logfile | ) |
Definition at line 33 of file common.c.
References common_logfd, common_logfile, DPRINTF, and m_common.
Referenced by reconfigure_analyse_simple_option().
int common_set_smbnetfs_debug_level | ( | int | level | ) |
Definition at line 26 of file common.c.
References common_debug_level, and DPRINTF.
Referenced by reconfigure_analyse_simple_option().
|
extern |
Definition at line 15 of file common.c.
Referenced by common_get_smbnetfs_debug_level(), and common_set_smbnetfs_debug_level().