[3] | 1 | /*******************************************************************************
|
---|
| 2 | * *
|
---|
| 3 | * mcfio_SeqDummy.c -- Utility routines for the McFast Monte-Carlo *
|
---|
| 4 | * Dummy Sequential routines, for the library without Sequential *
|
---|
| 5 | * *
|
---|
| 6 | * Copyright (c) 1994 Universities Research Association, Inc. *
|
---|
| 7 | * All rights reserved. *
|
---|
| 8 | * *
|
---|
| 9 | * This material resulted from work developed under a Government Contract and *
|
---|
| 10 | * is subject to the following license: The Government retains a paid-up, *
|
---|
| 11 | * nonexclusive, irrevocable worldwide license to reproduce, prepare derivative *
|
---|
| 12 | * works, perform publicly and display publicly by or for the Government, *
|
---|
| 13 | * including the right to distribute to other Government contractors. Neither *
|
---|
| 14 | * the United States nor the United States Department of Energy, nor any of *
|
---|
| 15 | * their employees, makes any warranty, express or implied, or assumes any *
|
---|
| 16 | * legal liability or responsibility for the accuracy, completeness, or *
|
---|
| 17 | * usefulness of any information, apparatus, product, or process disclosed, or *
|
---|
| 18 | * represents that its use would not infringe privately owned rights. *
|
---|
| 19 | * *
|
---|
| 20 | * *
|
---|
| 21 | * Written by Paul Lebrun *
|
---|
| 22 | * *
|
---|
| 23 | * *
|
---|
| 24 | *******************************************************************************/
|
---|
| 25 | #include <stdio.h>
|
---|
| 26 | #include <string.h>
|
---|
| 27 | #include "mcfio_Sequential.h"
|
---|
| 28 |
|
---|
| 29 | int mcfioC_OpenReadSequential(char *device, char *label, int filenumber)
|
---|
| 30 | {
|
---|
| 31 | fprintf(stderr,
|
---|
| 32 | "mcfioC_OpenReadSequential: Not available in this library. \n");
|
---|
| 33 | return -1;
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | int mcfioC_OpenWriteSequential(char *device, char *label, char *title,
|
---|
| 38 | char *comment, int numevts_pred,
|
---|
| 39 | int *blkIds, unsigned int nBlocks)
|
---|
| 40 | {
|
---|
| 41 | fprintf(stderr,
|
---|
| 42 | "mcfioC_OpenWriteSequential: Not available in this library. \n");
|
---|
| 43 | return -1;
|
---|
| 44 | }
|
---|
| 45 |
|
---|
| 46 | int mcfioC_NextEventSequential(int stream)
|
---|
| 47 | {
|
---|
| 48 | fprintf(stderr,
|
---|
| 49 | "mcfioC_NextEventSequential: Not available in this library. \n");
|
---|
| 50 | return -1;
|
---|
| 51 | }
|
---|
| 52 |
|
---|
| 53 | void mcfioC_CloseSequentialFile(int jstr)
|
---|
| 54 | {
|
---|
| 55 | fprintf(stderr,
|
---|
| 56 | "mcfioC_CloseSequentialFile: Not available in this library. \n");
|
---|
| 57 | return;
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | void mcfioC_CloseSequentialTape(int jstr)
|
---|
| 61 | {
|
---|
| 62 | fprintf(stderr,
|
---|
| 63 | "mcfioC_CloseSequentialTape: Not available in this library. \n");
|
---|
| 64 | return;
|
---|
| 65 | }
|
---|