Main Page | Alphabetical List | Data Structures | File List | Globals | Related Pages

memo.c File Reference

memo writting module for PalmOS More...

#include <PalmOS.h>
#include <PalmCompatibility.h>
#include <stdarg.h>
#include "memo.h"

Defines

#define SIZE_INC   1000
#define memoPadAppType   'memo'
#define memoPadDBType   'DATA'

Functions

void memo_internal_close (void)
 Opens a new memo record in memo pad data base.

void memo_close (char *Trailer)
 Closes the current memo record.

void memo_delete ()
 Closes and deletes the curent memo.

VoidHand memo_get_handle ()
 returns a handle on the current log

void memo_write (char *p)
 Writes the string given in the memo.

void memo_printf (CharPtr formatStr,...)
 Writes "printf" formatted messages to memo.


Variables

DmOpenRef MemoPadDB
VoidHand MemoRech
ULong WriteIndex
UInt MemoRecIndex


Detailed Description

memo writting module for PalmOS

Author:
C. Claveleira
Date:
1999-2004

Function Documentation

void memo_close char *  Trailer  ) 
 

Closes the current memo record.

Parameters:
Trailer pointer on a string to put at the end of the memo or NULL
Returns:
nothing

void memo_delete void   ) 
 

Closes and deletes the curent memo.

Returns:
nothing

VoidHand memo_get_handle void   ) 
 

returns a handle on the current log

Returns:
handle on record

void memo_internal_close void   )  [static]
 

Opens a new memo record in memo pad data base.

Parameters:
Header pointer on a string to put at the beginning of the memo (or NULL)
Returns:
0 if OK

void memo_printf CharPtr  formatStr,
... 
 

Writes "printf" formatted messages to memo.

Parameters:
formatStr Pointer to the format specification string
... parameters
Returns:
nothing

void memo_write char *  p  ) 
 

Writes the string given in the memo.

Parameters:
p string to log
Returns:
nothing


Generated on Sun Mar 13 09:36:01 2005 for GPilotS by doxygen 1.3.6