www.pudn.com > efs.rar > fs_pathbuff.c


/***********************************************************************
 * fs_pathbuff.c
 *
 * Provides array of FS_PATH_MAX sized buffers, a lock is also available
 * to mutually access these buffers.
 *
 * Copyright (C) 2006 QUALCOMM, Inc.
 *
 * There are an array of fs_path_buff[] buffers provided, use
 * FS_PATH_BUFF_LOCK() and FS_PATH_BUFF_UNLOCK() to exclusively
 * access these arrays.
 *
 ***********************************************************************/

/*===========================================================================

                        EDIT HISTORY FOR MODULE

  This section contains comments describing changes made to the module.
  Notice that changes are listed in reverse chronological order.

  $Header: //depot/asic/MSMSHARED/services/efs/MSM_EFS.01.02/fs_pathbuff.c#1 $ $DateTime: 2006/11/13 09:20:40 $ $Author: davidb $

when         who   what, where, why
----------   ---   ---------------------------------------------------------
2006-11-02    rp   Create

===========================================================================*/

#include "fs_pathbuff.h"



char fs_path_buff[EFS_MAX_PATH_BUFF_CNT][FS_PATH_MAX + 1];


/* Lock for the above buffer */
rex_crit_sect_type fs_path_buff_crit_sec;