#include <ints.h>
#include "src$:gct.h"
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Defines | |
| #define | GCT_UTIL $_SUCCESS 1 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_STRING_MAX 512 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_UPCASE 0x01 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_STRIP_LEAD_WHITESPACE 0x02 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_STRIP_TRAIL_SPACES 0x04 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_STRIP_QUOTES 0x08 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_COMPRESS_SPACES 0x10 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_COMPRESS_TABS 0x20 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_STRIP_COMMENTS 0x40 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_STRIP_SEMI_COMMENTS 0x80 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_xTAB 0x09 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_xDELETE 0x7F |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_NO_FLAGS 0 |
| Copyright (c) 1997. | |
| #define | GCT_UTIL $_RETURN_SEPERATORS 1 |
| Copyright (c) 1997. | |
| #define | _UPCASE(c) |
| #define | _LOWERCASE(c) |
Functions | |
| int gct_util | $edit_string (char *new_string, char *old_string, int max_destination, int flags) |
| int gct_util | $tokenize_input (char *input_string, char **tokens, int max_tokens, int *seperators, int flags) |
| int gct_util | $compare_case_blind (char *str1, char *str2, int max) |
| int gct_util | $append_decimal_string (char *outstr, int bin) |
| int gct_util | $append_hex_string (char *outstr, int bin, int min, char pad, int upper) |
| void gct_util | $out_asciz_string (char *string) |
| void gct_util | $print_unknown_string (char *message, int length) |
| #define _LOWERCASE | ( | c | ) |
| #define _UPCASE | ( | c | ) |
| #define GCT_UTIL $_RETURN_SEPERATORS 1 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_NO_FLAGS 0 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_xDELETE 0x7F |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_xTAB 0x09 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_STRIP_SEMI_COMMENTS 0x80 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_STRIP_COMMENTS 0x40 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_COMPRESS_TABS 0x20 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_COMPRESS_SPACES 0x10 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_STRIP_QUOTES 0x08 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_STRIP_TRAIL_SPACES 0x04 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_STRIP_LEAD_WHITESPACE 0x02 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_UPCASE 0x01 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_STRING_MAX 512 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| #define GCT_UTIL $_SUCCESS 1 |
Copyright (c) 1997.
by DIGITAL Equipment Corporation, Maynard, Mass. All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software or any other copies thereof may not be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred. The information in this software is subject to change without notice and should not be construed as a commitment by DIGITAL Equipment Corporation. DIGITAL assumes no responsibility for the use or reliability of its software on equipment which is not supplied by DIGITAL.
Definition at line 62 of file gct_util.h.
| int gct_util $append_decimal_string | ( | char * | outstr, | |
| int | bin | |||
| ) |
| int gct_util $append_hex_string | ( | char * | outstr, | |
| int | bin, | |||
| int | min, | |||
| char | pad, | |||
| int | upper | |||
| ) |
| int gct_util $compare_case_blind | ( | char * | str1, | |
| char * | str2, | |||
| int | max | |||
| ) |
| int gct_util $edit_string | ( | char * | new_string, | |
| char * | old_string, | |||
| int | max_destination, | |||
| int | flags | |||
| ) |
| void gct_util $out_asciz_string | ( | char * | string | ) |
| void gct_util $print_unknown_string | ( | char * | message, | |
| int | length | |||
| ) |
| int gct_util $tokenize_input | ( | char * | input_string, | |
| char ** | tokens, | |||
| int | max_tokens, | |||
| int * | seperators, | |||
| int | flags | |||
| ) |