BOOTSTRAP (kcms) functions
LIBRARY ROUTINE
kcms_get_copyright - get copyright comment for toolbox
LIBRARY CALL
kstring
kcms_get_copyright(
kobject toolbox,
kcms_attr attribute,
unsigned long language)
INPUT
- toolbox - The toolbox object we want a copyright for.
- attribute - The attribute identifier for the copyright to use;
each toolbox can have two copyright statements
associated with it, short and long.
Legal values for this parameter are:
KCMS_TB_COPYRIGHT_SHORT
, or
KCMS_TB_COPYRIGHT_SHORT
.
- language - The language we want this for.
The following languages are currently supported:
KCMS_LANG_C
KCMS_LANG_FORTRAN
KCMS_LANG_PERL
KCMS_LANG_CSH
KCMS_LANG_SH
KCMS_LANG_KSH
KCMS_LANG_CPLUSPLUS
KCMS_LANG_ADA
KCMS_LANG_ROFF
KCMS_LANG_TEX
KCMS_LANG_HTML
KCMS_LANG_KHOROS_UIS
OUTPUT
none
RETURN VALUE
If the appropriate copyright could be found, then a string
is returned which contains the copyright formatted within
a comment for the specified language.
If a copyright could not be found, or some other error
occurred, then NULL will be returned.
NOTE: the string returned is kmalloc'd for your use.
You should free the string when you are done.
DESCRIPTION
This routine is used to determine the copyright statement
comment which should be used for a specified toolbox.
If the relevant copyright attribute is defined then this
will be used, otherwise the copyright statement from
the BOOTSTRAP toolbox will be used.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kcms/src/tb_utils.c
SEE ALSO
kcms(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.