/*
 * ctrl.h
 *
 * ============================================================================
 * Copyright (c) Texas Instruments Inc 2005
 *
 * Use of this software is controlled by the terms and conditions found in the
 * license agreement under which this software has been supplied or provided.
 * ============================================================================
 */

#ifndef _CTRL_H
#define _CTRL_H

#include <rendezvous.h>
#include "rotate_demo.h"

/* Defining infinite time */
#define FOREVER         -1

typedef struct CtrlEnv {
    Rendezvous_Handle hRendezvous;
    int               keyboard;
    int               time;
    int               imageWidth;
    int               imageHeight;
    int               passThrough;
} CtrlEnv;

extern void *ctrlThrFxn(void *arg);

#endif /* _CTRL_H */
