/**********
Copyright 1990 Regents of the University of California.  All rights reserved.
Author: 1985 Thomas L. Quarles
**********/

#ifndef TF
#define TF

#include "typedefs.h"
#include "jobdefs.h"
#include "tskdefs.h"
#include "cktdefs.h"


    /* TFdefs.h - defs for transfer function analyses */

struct TFan {
    int JOBtype;
    JOB *JOBnextJob;
    IFuid JOBname;
    CKTnode *TFoutPos;
    CKTnode *TFoutNeg;
    IFuid TFoutSrc;
    IFuid TFinSrc;
    char *TFoutName;    /* a printable name for an output v(x,y) */
    unsigned int TFoutIsV :1;
    unsigned int TFoutIsI :1;
    unsigned int TFinIsV :1;
    unsigned int TFinIsI :1;
};


#define TF_OUTPOS 1
#define TF_OUTNEG 2
#define TF_OUTSRC 3
#define TF_INSRC 4
#define TF_OUTNAME 5

extern int TFsetParm(CKTcircuit *ckt, void *anal, int which, IFvalue *value);
extern int TFaskQuest(CKTcircuit *ckt, void *anal, int which, IFvalue *value);

#endif  /*TF*/
