/builddir/build/BUILD/libcomps-libcomps-0.1.8/libcomps/src/comps_docpackage.h File Reference

COMPS_DocPackage header file. More...

#include "comps_utils.h"
#include "comps_obj.h"
#include "comps_log.h"
#include "comps_validate.h"
#include "comps_default.h"

Go to the source code of this file.

Data Structures

struct  COMPS_DocGroupPackage

Enumerations

enum  COMPS_PackageType

Functions

COMPS_Objectcomps_docpackage_get_name (COMPS_DocGroupPackage *pkg)
void comps_docpackage_set_name (COMPS_DocGroupPackage *pkg, char *name, char copy)
COMPS_Objectcomps_docpackage_get_requires (COMPS_DocGroupPackage *pkg)
void comps_docpackage_set_requires (COMPS_DocGroupPackage *pkg, char *requires, char copy)
COMPS_Objectcomps_docpackage_get_type (COMPS_DocGroupPackage *pkg)
void comps_docpackage_set_type (COMPS_DocGroupPackage *pkg, COMPS_PackageType type, bool unset)
void comps_docpackage_set_type_i (COMPS_DocGroupPackage *pkg, int type, bool unset)
const char * comps_docpackage_type_str (COMPS_PackageType type)
void comps_docpackage_set_basearchonly (COMPS_DocGroupPackage *pkg, int basearchonly, bool unset)
COMPS_Objectcomps_docpackage_get_basearchonly (COMPS_DocGroupPackage *pkg)

Detailed Description

COMPS_DocPackage header file.


Enumeration Type Documentation


Function Documentation

COMPS_Object* comps_docpackage_get_basearchonly ( COMPS_DocGroupPackage pkg  ) 

return package basearchonly attrinute

Parameters:
type package type as COMPS_PackageType
Returns:
COMPS_Num basearchonly attribute
COMPS_Object* comps_docpackage_get_name ( COMPS_DocGroupPackage pkg  ) 

COMPS_DocGroupPackage name getter

Parameters:
pkg COMPS_DocGroupPackage object
Returns:
COMPS_Str object typed as COMPS_Object representating package's name with incremented reference counter
COMPS_Object* comps_docpackage_get_requires ( COMPS_DocGroupPackage pkg  ) 

COMPS_DocGroupPackage requires getter

Parameters:
pkg COMPS_DocGroupPackage object
Returns:
COMPS_Str object typed as COMPS_Object representating package's requires attribute with incremented reference counter
COMPS_Object* comps_docpackage_get_type ( COMPS_DocGroupPackage pkg  ) 

COMPS_DocGroupPackage type getter

Parameters:
pkg COMPS_DocGroupPackage object
Returns:
COMPS_Num object typed as COMPS_Object representating package's type as number with incremented reference counter
void comps_docpackage_set_basearchonly ( COMPS_DocGroupPackage pkg,
int  basearchonly,
bool  unset 
)

set package basearchonly attribute

Parameters:
type package type as COMPS_PckageType
basearchonly basearchonly attribute
void comps_docpackage_set_name ( COMPS_DocGroupPackage pkg,
char *  name,
char  copy 
)

COMPS_DocGroupPackage name setter

Parameters:
pkg COMPS_DocGroupPackage object
name new name of package
copy deprecated argument

Old name object's reference counter will be decremented

void comps_docpackage_set_requires ( COMPS_DocGroupPackage pkg,
char *  requires,
char  copy 
)

COMPS_DocGroupPackage requires setter

Parameters:
pkg COMPS_DocGroupPackage object
requires new requries attribute value
copy deprecated argument

Old requires object's reference counter will be decremented

void comps_docpackage_set_type ( COMPS_DocGroupPackage pkg,
COMPS_PackageType  type,
bool  unset 
)

COMPS_DocGroupPackage type setter

Parameters:
pkg COMPS_DocGroupPackage object
type package type

old object with stored type will be decremented

void comps_docpackage_set_type_i ( COMPS_DocGroupPackage pkg,
int  type,
bool  unset 
)

COMPS_DocGroupPackage type setter same as comps_docpackage_set_type

Parameters:
pkg COMPS_DocGroupPackage object
type package type as integer
const char* comps_docpackage_type_str ( COMPS_PackageType  type  ) 

return package type as string

Parameters:
type package type as COMPS_PackageType
Returns:
string representation of type
 All Data Structures Files Functions Variables Enumerations Defines

Generated on 1 Mar 2019 for libcomps by  doxygen 1.6.1