dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions | Variables
main.c File Reference

(811651673)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <errno.h>
#include <limits.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/macros.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/debug.h>
#include <dpkg/fsys.h>
#include <dpkg/options.h>
#include "dpkg-split.h"
Include dependency graph for main.c:

Functions

void DPKG_ATTR_NORET read_fail (int rc, const char *filename, const char *what)
 
int main (int argc, const char *const *argv)
 

Variables

off_t opt_maxpartsize = SPLITPARTDEFMAX
 
const char * opt_depotdir
 
const char * opt_outputfile = NULL
 
int opt_npquiet = 0
 
int opt_msdos = 0
 

Function Documentation

◆ main()

int main ( int  argc,
const char *const *  argv 
)

References _, cmdinfo::action, badusage(), cipaction, dbg_general, debug(), dpkg_db_get_dir(), dpkg_db_get_path(), dpkg_fsys_get_dir(), dpkg_locales_done(), dpkg_locales_init(), dpkg_options_parse(), dpkg_program_done(), dpkg_program_init(), m_output(), opt_depotdir, PARTSDIR, and SPLITTER.

Here is the call graph for this function:

◆ read_fail()

void DPKG_ATTR_NORET read_fail ( int  rc,
const char *  filename,
const char *  what 
)

References _, ohshit(), and ohshite().

Referenced by read_info().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ opt_depotdir

const char* opt_depotdir

Referenced by do_auto(), and main().

◆ opt_maxpartsize

off_t opt_maxpartsize = SPLITPARTDEFMAX

Referenced by do_split().

◆ opt_msdos

int opt_msdos = 0

Referenced by do_split().

◆ opt_npquiet

int opt_npquiet = 0

Referenced by do_auto().

◆ opt_outputfile

const char* opt_outputfile = NULL

Referenced by do_auto(), and do_join().