tar : lib_clean
rm -rf old_ca/ old_tcl/ param/
+ ln -s ca/caParam.h allParam.h
+ ln -s file/fileParam.h allParam.h
+ ln -s ora/oraParam.h allParam.h
+ ln -s psql/psqlParam.h allParam.h
+ ln -s tcl/tclParam.h allParam.h
cd .. ; tar -cvzf param.0.1.tar.Z param/
$(PARAMLIBES) test : dummy
-EPICS_BASE = $(EPICS_HOME)/R3.14.0.alpha1
CFLAGS = -g -ansi -Wall -I$(EPICS_BASE)/include \
-I$(EPICS_BASE)/include/os/$(HOST_ARCH)
-libcaParam.a : param.o
+libcaParam.a : caParam.o
$(AR) $(ARFLAGS) $@ $<
-param.o : param.c param.h
+caParam.o : caParam.c caParam.h
install : libcaParam.a
-mkdir -p $(LIBDIR)
install -m 644 $< $(LIBDIR)
-mkdir -p $(INCDIR)
- install -m 644 param.h $(INCDIR)
+ install -m 644 caParam.h $(INCDIR)/allParam.h
clean :
rm -f *.o
#include <cadef.h>
-#include "param.h"
+#include "caParam.h"
static void Param_copyToAllocMem(struct event_handler_args args);
static void Param_returnPVName(const char *, const char *, char *);
-#ifndef PARAM_H
-#define PARAM_H
+#ifndef CAPARAM_H
+#define CAPARAM_H
#define PARAM_MAX_ARRAY_LEN 128
#define PARAM_MAX_VALUE_LEN 128
#define PARAM_MAX_NAME_LEN 128
-/**************************************************************************
- * Section containing struct Param (different in the different param.h's) *
- **************************************************************************/
+/*****************************************************************************
+ * Section containing struct Param (different in the different xxxParam.h's) *
+ *****************************************************************************/
#define TIMEOUT 0.2
int *retVal;
} ParamResult;
-/******************************************************************
- * Section containing the API for param (common to all param.h's) *
- ******************************************************************/
+/*********************************************************************
+ * Section containing the API for param (common to all allParam.h's) *
+ *********************************************************************/
int conParam(Param *);
void desParam(Param *);
CFLAGS = -g -ansi -Wall
-libfileParam.a : param.o
+libfileParam.a : fileParam.o
$(AR) $(ARFLAGS) $@ $<
-param.o : param.c param.h
+fileParam.o : fileParam.c fileParam.h
install : libfileParam.a
-mkdir -p $(LIBDIR)
install -m 644 $< $(LIBDIR)
-mkdir -p $(INCDIR)
- install -m 644 param.h $(INCDIR)
+ install -m 644 fileParam.h $(INCDIR)/allParam.h
clean :
rm -f *.o
#include <stdlib.h>
#include <ctype.h>
-#include "param.h"
+#include "fileParam.h"
#define BUFFERSIZE 130
-#ifndef PARAM_H
-#define PARAM_H
+#ifndef FILEPARAM_H
+#define FILEPARAM_H
#define PARAM_MAX_ARRAY_LEN 128
#define PARAM_MAX_VALUE_LEN 128
#define PARAM_MAX_NAME_LEN 128
-/**************************************************************************
- * Section containing struct Param (different in the different param.h's) *
- **************************************************************************/
+/*****************************************************************************
+ * Section containing struct Param (different in the different xxxParam.h's) *
+ *****************************************************************************/
#define PARAM_MAX_NVALS 1024
char value[PARAM_MAX_NVALS][PARAM_MAX_NAME_LEN];
} Param;
-/******************************************************************
- * Section containing the API for param (common to all param.h's) *
- ******************************************************************/
+/*********************************************************************
+ * Section containing the API for param (common to all allParam.h's) *
+ *********************************************************************/
int conParam(Param *);
void desParam(Param *);
include=$(ORACLE_HOME)/network/public \
include=../param
-liboraParam.a : param.o
+liboraParam.a : oraParam.o
$(AR) $(ARFLAGS) $@ $<
-param.o : param.c param.h
+oraParam.o : oraParam.c oraParam.h
-param.c : param.pc
+oraParam.c : oraParam.pc
$(PROC) $(PROCFLAGS) $(PROC_INCLUDES) iname=$< oname=$@
install : liboraParam.a
-mkdir -p $(LIBDIR)
install -m 644 $< $(LIBDIR)
-mkdir -p $(INCDIR)
- install -m 644 param.h $(INCDIR)
+ install -m 644 oraParam.h $(INCDIR)/allParam.h
clean :
- rm -f *.o param.c param.lis
+ rm -f *.o oraParam.c oraParam.lis
lib_clean :
- rm -f *.o *.a param.c param.lis
+ rm -f *.o *.a oraParam.c oraParam.lis
-#ifndef PARAM_H
-#define PARAM_H
+#ifndef ORAPARAM_H
+#define ORAPARAM_H
#define PARAM_MAX_ARRAY_LEN 128
#define PARAM_MAX_VALUE_LEN 128
#define PARAM_MAX_NAME_LEN 128
-/**************************************************************************
- * Section containing struct Param (different in the different param.h's) *
- **************************************************************************/
+/*****************************************************************************
+ * Section containing struct Param (different in the different xxxParam.h's) *
+ *****************************************************************************/
#ifndef STATESET_ST
char *strerror;
} Param;
-/******************************************************************
- * Section containing the API for param (common to all param.h's) *
- ******************************************************************/
+/*********************************************************************
+ * Section containing the API for param (common to all allParam.h's) *
+ *********************************************************************/
int conParam(Param *);
void desParam(Param *);
#include <oraca.h>
#include <sqlca.h>
-#include "param.h"
+#include "oraParam.h"
static void Param_rollback();
CFLAGS = -g -ansi -Wall -I/usr/include/pgsql
-libpsqlParam.a : param.o
+libpsqlParam.a : psqlParam.o
$(AR) $(ARFLAGS) $@ $<
-param.o : param.c param.h
+psqlParam.o : psqlParam.c psqlParam.h
install : libpsqlParam.a
-mkdir -p $(LIBDIR)
install -m 644 $< $(LIBDIR)
-mkdir -p $(INCDIR)
- install -m 644 param.h $(INCDIR)
+ install -m 644 psqlParam.h $(INCDIR)/allParam.h
clean :
rm -f *.o
#include <libpq-fe.h>
-#include "param.h"
+#include "psqlParam.h"
static void Param_strerror(Param *, const char *);
-#ifndef PARAM_H
-#define PARAM_H
+#ifndef PSQLPARAM_H
+#define PSQLPARAM_H
#define PARAM_MAX_ARRAY_LEN 128
#define PARAM_MAX_VALUE_LEN 128
#define PARAM_MAX_NAME_LEN 128
-/**************************************************************************
- * Section containing struct Param (different in the different param.h's) *
- **************************************************************************/
+/*****************************************************************************
+ * Section containing struct Param (different in the different xxxParam.h's) *
+ *****************************************************************************/
#ifndef STATESET_ST
char *strerror;
} Param;
-/******************************************************************
- * Section containing the API for param (common to all param.h's) *
- ******************************************************************/
+/*********************************************************************
+ * Section containing the API for param (common to all allParam.h's) *
+ *********************************************************************/
int conParam(Param *);
void desParam(Param *);
CFLAGS = -g -ansi -Wall
-libtclParam.a : param.o
+libtclParam.a : tclParam.o
$(AR) $(ARFLAGS) $@ $<
-param.o : param.c param.h
+tclParam.o : tclParam.c tclParam.h
install : libtclParam.a
-mkdir -p $(LIBDIR)
install -m 644 $< $(LIBDIR)
-mkdir -p $(INCDIR)
- install -m 644 param.h $(INCDIR)
+ install -m 644 tclParam.h $(INCDIR)/allParam.h
clean :
rm -f *.o
#include <stdlib.h>
#include <ctype.h>
-#include "param.h"
+#include "tclParam.h"
static void Param_strerror(Param *, const char *);
-#ifndef PARAM_H
-#define PARAM_H
+#ifndef TCLPARAM_H
+#define TCLPARAM_H
#define PARAM_MAX_ARRAY_LEN 128
#define PARAM_MAX_VALUE_LEN 128
#define PARAM_MAX_NAME_LEN 128
-/**************************************************************************
- * Section containing struct Param (different in the different param.h's) *
- **************************************************************************/
+/*****************************************************************************
+ * Section containing struct Param (different in the different xxxParam.h's) *
+ *****************************************************************************/
#ifndef STATESET_ST
Tcl_Interp *interp;
} Param;
-/******************************************************************
- * Section containing the API for param (common to all param.h's) *
- ******************************************************************/
+/*********************************************************************
+ * Section containing the API for param (common to all allParam.h's) *
+ *********************************************************************/
int conParam(Param *);
void desParam(Param *);
#include <stdlib.h>
#include <stdio.h>
-#include <param.h>
+#include <allParam.h>
#include "test1.h"
#include "test2.h"
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test1.h"
#ifndef TEST1_H
#define TEST1_H
-#include <param.h>
+#include <allParam.h>
int test1(const char *, const Param *);
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test10.h"
#ifndef TEST10_H
#define TEST10_H
-#include <param.h>
+#include <allParam.h>
int test10(const char *, const Param *);
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test11.h"
#ifndef TEST11_H
#define TEST11_H
-#include <param.h>
+#include <allParam.h>
int test11(const char *, const Param *);
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test12.h"
#ifndef TEST12_H
#define TEST12_H
-#include <param.h>
+#include <allParam.h>
int test12(const char *, const Param *);
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test13.h"
#ifndef TEST13_H
#define TEST13_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test14.h"
#ifndef TEST14_H
#define TEST14_H
-#include <param.h>
+#include <allParam.h>
#define NUM2 32
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test15.h"
#ifndef TEST15_H
#define TEST15_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#define NUM3 16
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test16.h"
#ifndef TEST16_H
#define TEST16_H
-#include <param.h>
+#include <allParam.h>
#define NUM2 32
#define NUM4 64
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test17.h"
#ifndef TEST17_H
#define TEST17_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#define NUM5 4
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test18.h"
#ifndef TEST18_H
#define TEST18_H
-#include <param.h>
+#include <allParam.h>
#define NUM2 32
#define NUM6 16
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test19.h"
#ifndef TEST19_H
#define TEST19_H
-#include <param.h>
+#include <allParam.h>
#define NUM2 32
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test2.h"
#ifndef TEST2_H
#define TEST2_H
-#include <param.h>
+#include <allParam.h>
int test2(const char *, const Param *);
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test20.h"
#ifndef TEST20_H
#define TEST20_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test21.h"
#ifndef TEST21_H
#define TEST21_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test22.h"
#ifndef TEST22_H
#define TEST22_H
-#include <param.h>
+#include <allParam.h>
int test22(const char *, const Param *);
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test3.h"
#ifndef TEST3_H
#define TEST3_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test4.h"
#ifndef TEST4_H
#define TEST4_H
-#include <param.h>
+#include <allParam.h>
#define NUM2 32
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test5.h"
#ifndef TEST5_H
#define TEST5_H
-#include <param.h>
+#include <allParam.h>
int test5(const char *, const Param *);
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test6.h"
#ifndef TEST6_H
#define TEST6_H
-#include <param.h>
+#include <allParam.h>
int test6(const char *, const Param *);
#include <string.h>
#include <stdlib.h>
-#include <param.h>
+#include <allParam.h>
#include "test7.h"
#ifndef TEST7_H
#define TEST7_H
-#include <param.h>
+#include <allParam.h>
#define NUM1 8
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test8.h"
#ifndef TEST8_H
#define TEST8_H
-#include <param.h>
+#include <allParam.h>
#define NUM2 32
#include <stdio.h>
#include <string.h>
-#include <param.h>
+#include <allParam.h>
#include "test9.h"
#ifndef TEST9_H
#define TEST9_H
-#include <param.h>
+#include <allParam.h>
int test9(const char *, const Param *);