"Fossies" - the Fresh Open Source Software Archive

Member "coda-6.9.5/coda-src/norton/dummy.cc" (6 Oct 2008, 1311 Bytes) of package /linux/misc/old/coda-6.9.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "dummy.cc" see the Fossies "Dox" file reference documentation.

    1 /* BLURB gpl
    2 
    3                            Coda File System
    4                               Release 6
    5 
    6           Copyright (c) 1987-2003 Carnegie Mellon University
    7                   Additional copyrights listed below
    8 
    9 This  code  is  distributed "AS IS" without warranty of any kind under
   10 the terms of the GNU General Public Licence Version 2, as shown in the
   11 file  LICENSE.  The  technical and financial  contributors to Coda are
   12 listed in the file CREDITS.
   13 
   14                         Additional copyrights
   15                            none currently
   16 
   17 #*/
   18 
   19 #ifdef __cplusplus
   20 extern "C" {
   21 #endif
   22 
   23 #include <stdio.h>
   24 #include "coda_assert.h"
   25 
   26 #ifdef __cplusplus
   27 }
   28 #endif
   29 
   30 #include <cvnode.h>
   31 #include <vlist.h>
   32 
   33 extern vle *FindVLE(dlist& dl, ViceFid *fid);
   34 
   35 int AllowResolution = 1;
   36 int DumpVM = 0;
   37 int large = 500;
   38 int small = 500;
   39 const char *CodaSrvIp = NULL;
   40 
   41 vv_t NullVV = {{0, 0, 0, 0, 0, 0, 0, 0}, {0, 0}, 0};
   42 
   43 void PollAndYield() {
   44     dlist dl;
   45     ViceFid fid;
   46 
   47     CODA_ASSERT(0);
   48     FindVLE(dl, &fid);
   49     return;
   50 }
   51 
   52 void Die(const char *msg) {
   53     fprintf(stderr, "%s\n", msg);
   54     CODA_ASSERT(0);
   55     return;
   56 }
   57 
   58 int GetFsObj(ViceFid *fid, Volume **volptr, Vnode **vptr,
   59          int lock, int VolumeLock, int ignoreIncon, int ignoreBQ,
   60          int getdirhandle)
   61 {
   62     CODA_ASSERT(0);
   63     return(0);
   64 }
   65 
   66     
   67