dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions
join.c File Reference

(a9d1ee8b0)

#include <config.h>
#include <compat.h>
#include <limits.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/buffer.h>
#include <dpkg/options.h>
#include "dpkg-split.h"
Include dependency graph for join.c:

Functions

void reassemble (struct partinfo **partlist, const char *outputfile)
 
void addtopartlist (struct partinfo **partlist, struct partinfo *pi, struct partinfo *refi)
 
int do_join (const char *const *argv)
 

Function Documentation

◆ addtopartlist()

void addtopartlist ( struct partinfo **  partlist,
struct partinfo pi,
struct partinfo refi 
)

References _, partinfo::filename, partinfo::maxpartlen, partinfo::maxpartn, partinfo::md5sum, ohshit(), partinfo::orglength, partinfo::package, print_info(), partinfo::thispartn, and partinfo::version.

Referenced by do_auto(), and do_join().

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

◆ do_join()

int do_join ( const char *const *  argv)

References _, addtopartlist(), partinfo::arch, badusage(), cipaction, DEBEXT, partqueue::info, internerr, partinfo::maxpartn, mustgetpartinfo(), partqueue::nextinqueue, nfmalloc(), ohshit(), cmdinfo::olong, opt_outputfile, partinfo::package, reassemble(), partinfo::thispartn, and partinfo::version.

Here is the call graph for this function:

◆ reassemble()

void reassemble ( struct partinfo **  partlist,
const char *  outputfile 
)

References _, fd_fd_copy, fd_skip, partinfo::filename, partinfo::headerlen, ohshit(), ohshite(), P_, dpkg_error::str, partinfo::thispartlen, and dpkg_error::type.

Referenced by do_auto(), and do_join().

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