source: svn/trunk/newcon3bcm2_21bu/BSEAV/lib/bfile/bfile_io.c @ 11

Last change on this file since 11 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1/***************************************************************************
2 *     Copyright (c) 2006, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile: bfile_io.c $
11 * $brcm_Revision: 2 $
12 * $brcm_Date: 4/7/06 3:49p $
13 *
14 * Module Description:
15 *
16 * Revision History:
17 *
18 * $brcm_Log: /BSEAV/lib/bfile/bfile_io.c $
19 *
20 * 2   4/7/06 3:49p vsilyaev
21 * PR 20680: Added bfile library
22 *
23 * 1   4/7/06 12:31p vsilyaev
24 * PR 20680: Added bfile library
25 *
26 *
27 ***************************************************************************/
28#include <bstd.h>
29#include "bfile_io.h"
30
31int 
32bio_default_priority(void *cntx)
33{
34        BSTD_UNUSED(cntx);
35        return 0;
36}
37
38void 
39bio_read_attach_priority(bfile_io_read_t fd, bio_get_priority priority, void *cntx)
40{
41        fd->priority.get = priority;
42        fd->priority.cntx = cntx;
43        return;
44}
45
46void 
47bio_write_attach_priority(bfile_io_write_t fd, bio_get_priority priority, void *cntx)
48{
49        fd->priority.get = priority;
50        fd->priority.cntx = cntx;
51        return;
52}
53
Note: See TracBrowser for help on using the repository browser.