Poster of Linux kernelThe best gift for a Linux geek
atversion

atversion

Section: AtFS Toolkit Library (3) Updated: Fri Jun 25 17:21:56 1993
Local index Up
 

NAME

atSetVersAlias, atDelVersAlias, atVno, atGen, atRev - version handling  

SYNOPSIS

#include <atfs.h>
#include <atfstk.h>

int atSetVersAlias (Af_key *aso; char *aliasName);

int atDelVersAlias (Af_key *aso; char *aliasName);

int atVno (Af_key *aso);

void atGen (int versionNumber)

void atRev (int versionNumber)

 

DESCRIPTION

atSetVersAlias sets a version number alias (a unique symbolic name for a version) for aso. The function checks, whether aliasName is unique within the ASOs history and complains, if not. It returns TRUE on success and FALSE otherwise. The case that the version already had the alias name is considered as success.

atDelVersAlias deletes the given aliasName from the list of version aliases attached to aso. It returns TRUE on success and FALSE otherwise. It also returns TRUE, when the alias name did not exist.

atVno returns a compact representation of asos generation and revision number, packed into a single integer. atGen extracts the generation number, and atRev the revision number from a versionNumber in compact representation.  

DIAGNOSTICS

On error, the atError variable is set to an appropriate error code, and atErrMsg holds a diagnostic message.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS

This document was created by man2html, using the manual pages.
Time: 21:42:01 GMT, April 16, 2011