IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 18, 2004, 3:30:33 PM (22 years ago)
Author:
Paul Price
Message:

Added some "const"s in message logging and tracing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r1570 r1571  
    1 %%% $Id: psLibSDRS.tex,v 1.80 2004-08-19 01:25:00 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.81 2004-08-19 01:30:33 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    720720%
    721721\begin{verbatim}
    722 int psTraceSetLevel(char *facil, int level);
     722int psTraceSetLevel(const char *facil, int level);
    723723\end{verbatim}
    724724%
     
    728728%
    729729\begin{verbatim}
    730 int psTraceGetLevel(char *facil);
     730int psTraceGetLevel(const char *facil);
    731731\end{verbatim}
    732732%
     
    833833%
    834834\begin{verbatim}
    835 void psLogMsg(char *name, int myLevel, char *fmt, ...);
    836 void psLogMsgV(char *name, int myLevel, char *fmt, va_list ap);
     835void psLogMsg(const char *name, int myLevel, const char *fmt, ...);
     836void psLogMsgV(const char *name, int myLevel, const char *fmt, va_list ap);
    837837\end{verbatim}
    838838where \code{name} is a word to describe the source of the message,
     
    867867%
    868868\begin{verbatim}
    869 int psLogSetDestination(char *dest);     
     869int psLogSetDestination(const char *dest);     
    870870\end{verbatim}
    871871%
     
    882882%
    883883\begin{verbatim}
    884 void psLogSetFormat(const char *fmt);   
     884void psLogSetFormat(const char *fmt);
    885885\end{verbatim}
    886886%
Note: See TracChangeset for help on using the changeset viewer.