group.c File Reference

#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "group.h"
#include "alpm_list.h"
#include "util.h"
#include "error.h"
#include "log.h"
#include "alpm.h"

Include dependency graph for group.c:

Go to the source code of this file.

Functions

pmgrp_t_alpm_grp_new ()
void _alpm_grp_free (pmgrp_t *grp)
int _alpm_grp_cmp (const void *g1, const void *g2)
const char * alpm_grp_get_name (const pmgrp_t *grp)
const alpm_list_talpm_grp_get_pkgs (const pmgrp_t *grp)


Function Documentation

int _alpm_grp_cmp ( const void *  g1,
const void *  g2 
)

Definition at line 59 of file group.c.

References __pmgrp_t::name.

Referenced by _alpm_db_load_grpcache().

Here is the caller graph for this function:

void _alpm_grp_free ( pmgrp_t grp  ) 

Definition at line 45 of file group.c.

References ALPM_LOG_FUNC, FREE, FREELIST, and __pmgrp_t::packages.

Referenced by _alpm_db_free_grpcache().

Here is the caller graph for this function:

pmgrp_t* _alpm_grp_new ( void   ) 

Definition at line 34 of file group.c.

References ALPM_LOG_FUNC, CALLOC, PM_ERR_MEMORY, and RET_ERR.

Referenced by _alpm_db_load_grpcache().

Here is the caller graph for this function:

const char* alpm_grp_get_name ( const pmgrp_t grp  ) 

Definition at line 67 of file group.c.

References ALPM_LOG_FUNC, ASSERT, and __pmgrp_t::name.

Referenced by pacman_remove().

Here is the caller graph for this function:

const alpm_list_t* alpm_grp_get_pkgs ( const pmgrp_t grp  ) 

Definition at line 77 of file group.c.

References ALPM_LOG_FUNC, ASSERT, and __pmgrp_t::packages.

Referenced by pacman_remove().

Here is the caller graph for this function:


Generated on Mon Jan 14 23:57:14 2008 for libalpm by  doxygen 1.5.4