summaryrefslogtreecommitdiffstats
path: root/cfe/cfe/include/tftpd.h
blob: d7a15a9928e5d2a0bd054f2d5fee458170822ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/***************************************************************************
***
***    Copyright 2005  Hon Hai Precision Ind. Co. Ltd.
***    All Rights Reserved.
***    No portions of this material shall be reproduced in any form without the
***    written permission of Hon Hai Precision Ind. Co. Ltd.
***
***    All information contained in this document is Hon Hai Precision Ind.  
***    Co. Ltd. company private, proprietary, and trade secret property and 
***    are protected by international intellectual property laws and treaties.
***
****************************************************************************/

#ifndef __TFTPD_H
#define __TFTPD_H

/* Foxconn add start by Cliff Wang, 03/23/2010 */
#define TFTPD_STATE_OFF             0
#define TFTPD_STATE_WAIT_IMAGE      1
#define TFTPD_STATE_WRITE_IMAGE     2

extern int get_tftpd_state(void);
extern int set_tftpd_state(int state);
/* Foxconn add end by Cliff Wang, 03/23/2010 */

#endif