dpkg 1.21.11
Data Structures | Functions
fsys-iter.c File Reference

(f7e9dc180)

#include <config.h>
#include <compat.h>
#include <stdlib.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/pkg-list.h>
#include "fsys.h"
Include dependency graph for fsys-iter.c:

Data Structures

struct  fsys_node_pkgs_iter
 

Functions

void fsys_hash_rev_iter_init (struct fsys_hash_rev_iter *iter, struct fsys_namenode_list *files)
 
struct fsys_namenodefsys_hash_rev_iter_next (struct fsys_hash_rev_iter *iter)
 
void fsys_hash_rev_iter_abort (struct fsys_hash_rev_iter *iter)
 
struct fsys_node_pkgs_iterfsys_node_pkgs_iter_new (struct fsys_namenode *fnn)
 
struct pkginfofsys_node_pkgs_iter_next (struct fsys_node_pkgs_iter *iter)
 
void fsys_node_pkgs_iter_free (struct fsys_node_pkgs_iter *iter)
 

Function Documentation

◆ fsys_hash_rev_iter_abort()

void fsys_hash_rev_iter_abort ( struct fsys_hash_rev_iter iter)

References fsys_hash_rev_iter_next().

Here is the call graph for this function:

◆ fsys_hash_rev_iter_init()

void fsys_hash_rev_iter_init ( struct fsys_hash_rev_iter iter,
struct fsys_namenode_list files 
)

References m_malloc(), fsys_namenode_list::namenode, fsys_namenode_list::next, and fsys_hash_rev_iter::todo.

Here is the call graph for this function:

◆ fsys_hash_rev_iter_next()

struct fsys_namenode * fsys_hash_rev_iter_next ( struct fsys_hash_rev_iter iter)

References fsys_namenode_list::namenode, fsys_namenode::next, fsys_namenode_list::next, and fsys_hash_rev_iter::todo.

Referenced by fsys_hash_rev_iter_abort().

Here is the caller graph for this function:

◆ fsys_node_pkgs_iter_free()

void fsys_node_pkgs_iter_free ( struct fsys_node_pkgs_iter iter)

Referenced by dir_is_used_by_others(), and filesavespackage().

Here is the caller graph for this function:

◆ fsys_node_pkgs_iter_new()

struct fsys_node_pkgs_iter * fsys_node_pkgs_iter_new ( struct fsys_namenode fnn)

References m_malloc(), fsys_namenode::packages, and fsys_node_pkgs_iter::pkg_node.

Referenced by dir_is_used_by_others(), and filesavespackage().

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

◆ fsys_node_pkgs_iter_next()

struct pkginfo * fsys_node_pkgs_iter_next ( struct fsys_node_pkgs_iter iter)

References pkg_list::next, pkg_list::pkg, and fsys_node_pkgs_iter::pkg_node.

Referenced by dir_is_used_by_others(), and filesavespackage().

Here is the caller graph for this function: