IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12892


Ignore:
Timestamp:
Apr 18, 2007, 10:13:44 AM (19 years ago)
Author:
eugene
Message:

changed KiiPS to use const filename, switched API order to match related functions

Location:
trunk/Ohana/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libkapa/include/kapa.h

    r10843 r12892  
    116116
    117117/* KiiConvert.c */
    118 int KiiPS (int fd, int scaleMode, int pageMode, char *filename, char *pagename);
    119 int KiiJPEG (int fd, char *filename);
    120 int KapaPNG (int fd, char *filename);
    121 int KapaPPM (int fd, char *filename);
     118int KiiPS (int fd, const char *filename, int scaleMode, int pageMode, char *pagename);
     119int KiiJPEG (int fd, const char *filename);
     120int KapaPNG (int fd, const char *filename);
     121int KapaPPM (int fd, const char *filename);
    122122
    123123/* KiiCursor.c */
  • trunk/Ohana/src/libkapa/src/KiiConvert.c

    r12332 r12892  
    11# include <kapa_internal.h>
    22
    3 int KiiJPEG (int fd, char *filename) {
     3int KiiJPEG (int fd, const char *filename) {
    44
    55  char buffer[20];
     
    1313}
    1414
    15 int KapaPNG (int fd, char *filename) {
     15int KapaPNG (int fd, const char *filename) {
    1616
    1717  char buffer[20];
     
    2525}
    2626
    27 int KapaPPM (int fd, char *filename) {
     27int KapaPPM (int fd, const char *filename) {
    2828
    2929  char buffer[20];
     
    3737}
    3838
    39 int KiiPS (int fd, int scaleMode, int pageMode, char *filename, char *pagename) {
     39int KiiPS (int fd, const char *filename, int scaleMode, int pageMode, char *pagename) {
    4040
    4141  char buffer[20];
  • trunk/Ohana/src/opihi/cmd.data/ps.c

    r10843 r12892  
    7474 
    7575  /* tell Ximage/Xgraph to ps the image */
    76   KiiPS (Source, scaleMode, pageMode, filename, pagename);
     76  KiiPS (Source, filename, scaleMode, pageMode, pagename);
    7777  return (TRUE);
    7878
  • trunk/Ohana/src/relastro/src/plotstuff.c

    r12332 r12892  
    4949  if (Xgraph[N] == 0) return;
    5050
    51   KiiPS (Xgraph[N], TRUE, KAPA_PS_NEWPLOT, filename, "default");
     51  KiiPS (Xgraph[N], filename, TRUE, KAPA_PS_NEWPLOT, "default");
    5252  return;
    5353}
  • trunk/Ohana/src/relphot/src/plotstuff.c

    r10843 r12892  
    4949  if (Xgraph[N] == 0) return;
    5050
    51   KiiPS (Xgraph[N], TRUE, KAPA_PS_NEWPLOT, filename, "default");
     51  KiiPS (Xgraph[N], filename, TRUE, KAPA_PS_NEWPLOT, "default");
    5252  return;
    5353}
Note: See TracChangeset for help on using the changeset viewer.