root/lib/replace/test/main.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   1 /*
   2    Unix SMB/CIFS implementation.
   3 
   4    libreplace tests
   5 
   6    Copyright (C) Jelmer Vernooij 2006
   7 
   8      ** NOTE! The following LGPL license applies to the talloc
   9      ** library. This does NOT imply that all of Samba is released
  10      ** under the LGPL
  11 
  12    This library is free software; you can redistribute it and/or
  13    modify it under the terms of the GNU Lesser General Public
  14    License as published by the Free Software Foundation; either
  15    version 3 of the License, or (at your option) any later version.
  16 
  17    This library is distributed in the hope that it will be useful,
  18    but WITHOUT ANY WARRANTY; without even the implied warranty of
  19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  20    Lesser General Public License for more details.
  21 
  22    You should have received a copy of the GNU Lesser General Public
  23    License along with this library; if not, see <http://www.gnu.org/licenses/>.
  24 */
  25 
  26 #include "replace.h"
  27 
  28 struct torture_context;
  29 bool torture_local_replace(struct torture_context *ctx);
  30 
  31 int main(void)
     /* [<][>][^][v][top][bottom][index][help] */
  32 {
  33         bool ret = torture_local_replace(NULL);
  34         if (ret)
  35                 return 0;
  36         return -1;
  37 }

/* [<][>][^][v][top][bottom][index][help] */