Files
cdev-1.7.2n/extensions/cdevGenericServer/include/rsvcLogicSup.h
2022-12-13 12:44:04 +01:00

31 lines
1020 B
C

//-----------------------------------------------------------------------------
// Copyright (c) 1994,1995 Southeastern Universities Research Association,
// Continuous Electron Beam Accelerator Facility
//
// This software was developed under a United States Government license
// described in the NOTICE file included as part of this distribution.
//
// CEBAF Data Acquisition Group, 12000 Jefferson Ave., Newport News, VA 23606
// coda@cebaf.gov Tel: (804) 249-7030 Fax: (804) 249-5800
//-----------------------------------------------------------------------------
//
// Description:
// Simple Header File for rsvc logic expression parser
//
// Author:
// Jie Chen
// CEBAF Data Acquisition Group
//
//
//
#ifndef _RSVC_LOGIC_SUP_H
#define _RSVC_LOGIC_SUP_H
// check whether a cdevData matches a logic expression
// return -1: string has grammer error
// return 0: not matching
// return 1: yes
extern int dataMatchLogic (rsvcData& data, char* string);
#endif