Commit e66d78a8 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Added missing header files

parent ee35342a
/******************************************************************************
* alrm.h
*
* This file is part of the Castor project.
* See http://castor.web.cern.ch/castor
*
* Copyright (C) 2003 CERN
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: alrm.h,v $ $Revision: 1.1 $ $Release$ $Date: 2008/07/31 13:10:27 $ $Author: sponcec3 $
*
* function declarations for alrm
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef RFIO_ALRM_H
#define RFIO_ALRM_H 1
int rfio_alrm(int rcode, char *buf);
#endif // RFIO_ALRM_H
/******************************************************************************
* checkkey.h
*
* This file is part of the Castor project.
* See http://castor.web.cern.ch/castor
*
* Copyright (C) 2003 CERN
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: checkkey.h,v $ $Revision: 1.1 $ $Release$ $Date: 2008/07/31 13:10:27 $ $Author: sponcec3 $
*
* function declarations for checkkey
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef RFIO_CHECKKEY_H
#define RFIO_CHECKKEY_H 1
int connecttpread(char * host, u_short aport);
int checkkey(int sock, u_short key);
#endif // RFIO_CHECKKEY_H
/******************************************************************************
* rfio_callhandlers.h
*
* This file is part of the Castor project.
* See http://castor.web.cern.ch/castor
*
* Copyright (C) 2003 CERN
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: rfio_callhandlers.h,v $ $Revision: 1.1 $ $Release$ $Date: 2008/07/31 13:10:27 $ $Author: sponcec3 $
*
* functions definitions for the callhandler interface of rfio
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef RFIO_CALLHANDLERS_H
#define RFIO_CALLHANDLERS_H
int rfio_handle_open(const char *lfn,
int flags,
int mode,
uid_t uid,
gid_t gid,
char **pfn,
void **ctx,
int *need_user_check);
int rfio_handle_firstwrite(void *ctx);
int rfio_handle_close(void *ctx,
struct stat *filestat,
int close_status);
#endif /* RFIO_CALLHANDLERS_H */
/******************************************************************************
* rfioacct.h
*
* This file is part of the Castor project.
* See http://castor.web.cern.ch/castor
*
* Copyright (C) 2003 CERN
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: rfioacct.h,v $ $Revision: 1.1 $ $Release$ $Date: 2008/07/31 13:10:27 $ $Author: sponcec3 $
*
* declaration of the rfioacct function
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef RFIO_RFIOACCT_H
#define RFIO_RFIOACCT_H 1
void rfioacct(int reqtype, uid_t uid, gid_t gid,
int ns, int flag1,int flag2, int status,
int rc, struct rfiostat *infop,
char* filename1, char* filename2);
#endif // RFIO_RFIOACCT_H
/******************************************************************************
* wsacct.h
*
* This file is part of the Castor project.
* See http://castor.web.cern.ch/castor
*
* Copyright (C) 2003 CERN
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: wsacct.h,v $ $Revision: 1.1 $ $Release$ $Date: 2008/07/31 13:10:27 $ $Author: sponcec3 $
*
* function declaration of wsacct
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef H_WSACCT_H
#define H_WSACCT_H 1
#include "../h/sacct.h"
void wsacct(int package, void *acctstruct, int len);
#endif // H_WSACCT_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment