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.
  Fossies Dox: smbnetfs-0.6.3.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

main.c File Reference
#include "config.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <locale.h>
#include <signal.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <pthread.h>
#include <libsmbclient.h>
#include <pwd.h>
#include "common.h"
#include "smbitem.h"
#include "auth.h"
#include "auth-libsecret.h"
#include "process.h"
#include "samba.h"
#include "function.h"
#include "event.h"
#include "reconfigure.h"
Include dependency graph for main.c:

Go to the source code of this file.


static void check_samba_version (void)
static size_t get_default_rw_block_size (void)
static void sig_handler (int signum)
static void set_signal_reactions (void)
static void print_help (struct fuse_args *outargs)
static int smbnetfs_opt_proc (void *data, const char *arg, int key, struct fuse_args *outargs)
int main (int argc, char *argv[])

Function Documentation

◆ check_samba_version()

static void check_samba_version ( void  )

Definition at line 28 of file main.c.

Referenced by main().

◆ get_default_rw_block_size()

static size_t get_default_rw_block_size ( void  )

Definition at line 66 of file main.c.

Referenced by main().

◆ main()

◆ print_help()

static void print_help ( struct fuse_args *  outargs)

Definition at line 107 of file main.c.

References smb_oper, and smbnetfs_option_list.

Referenced by smbnetfs_opt_proc().

◆ set_signal_reactions()

static void set_signal_reactions ( void  )

Definition at line 77 of file main.c.

References sig_handler().

Referenced by main().

◆ sig_handler()

static void sig_handler ( int  signum)

Definition at line 70 of file main.c.

References common_print_backtrace().

Referenced by set_signal_reactions().

◆ smbnetfs_opt_proc()

static int smbnetfs_opt_proc ( void *  data,
const char *  arg,
int  key,
struct fuse_args *  outargs 

Definition at line 123 of file main.c.

References print_help(), reconfigure_analyse_cmdline_option(), and smb_oper.

Referenced by main().