mirror of
https://github.com/depp/syncfiles.git
synced 2024-06-14 11:29:28 +00:00
4d4ee214b3
The GUI program's project is not checked in. It was compiled and tested with CodeWarrior Pro 4. The GUI program allows users to create new synchronization projects, select folders to synchronize, and save and open projects. The code is probably broken and buggy, and probably dereferences NULL pointers here and there, but the basic shell is there.
23 lines
667 B
C
23 lines
667 B
C
// strutil.h - String utilities.
|
|
#ifndef MACOS_STRUTIL_H
|
|
#define MACOS_STRUTIL_H
|
|
|
|
// Write a formatted string.
|
|
void StrFormat(unsigned char *dest, const unsigned char *msg, ...);
|
|
|
|
// Append a formatted string to another string.
|
|
//
|
|
// %% - literal %
|
|
// %d - int argument
|
|
// %S - Pascal string argument
|
|
void StrAppendFormat(unsigned char *dest, const unsigned char *msg, ...);
|
|
|
|
// Copy a Pascal string. Aborts the program if the string does not fit in the
|
|
// destination buffer.
|
|
void StrCopy(unsigned char *dest, int dest_size, unsigned char *src);
|
|
|
|
// Substitute ^1 in the string with param.
|
|
void StrSubstitute(unsigned char *str, const unsigned char *param);
|
|
|
|
#endif
|