appletfileversion.c File Reference

#include "applet.h"
#include "appletresource.h"
#include "appletfilesinternal.h"
#include "appletfileversion.h"

Include dependency graph for appletfileversion.c:

Go to the source code of this file.

Data Structures

struct  lNumVersion
struct  lVersRec

Defines

#define emptyversionsize   ((long) sizeof (lNumVersion) + sizeof (short) + 2)

Typedefs

typedef lVersReclVersRecPtr
typedef lVersRec ** lVersRecHndl

Functions

static boolean versionnumtostring (lNumVersion numvers, bigstring bs)
boolean filegetversion (FSSpec *pfs, bigstring version, bigstring position)

Variables

static byte bsstages [] = "\pdab"


Define Documentation

#define emptyversionsize   ((long) sizeof (lNumVersion) + sizeof (short) + 2)
 

Definition at line 33 of file appletfileversion.c.


Typedef Documentation

typedef struct lVersRec ** lVersRecHndl
 

typedef struct lVersRec * lVersRecPtr
 


Function Documentation

boolean filegetversion FSSpec pfs,
bigstring  version,
bigstring  position
 

Definition at line 75 of file appletfileversion.c.

References closeresourcefile(), copystring(), disposehandle(), getresource(), getresourcehandle(), longsizeof, openresourcefile(), setstringlength, stringlength, and versionnumtostring().

Here is the call graph for this function:

static boolean versionnumtostring lNumVersion  numvers,
bigstring  bs
[static]
 

Definition at line 36 of file appletfileversion.c.

References bsstages, lNumVersion::bugFixRev, lNumVersion::majorRev1, lNumVersion::majorRev2, lNumVersion::minorRev, lNumVersion::nonRelRev1, lNumVersion::nonRelRev2, pushchar(), pushint(), setemptystring, and lNumVersion::stage.

Referenced by filegetversion().

Here is the call graph for this function:


Variable Documentation

byte bsstages[] = "\pdab" [static]
 

Definition at line 31 of file appletfileversion.c.

Referenced by versionnumtostring().


Generated on Wed May 31 20:49:00 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6