"Fossies" - the Fresh Open Source Software Archive

Member "FunctionCheck-3.2.0/src/fcmanager/fc_com_manager.h" (26 May 2012, 1763 Bytes) of package /linux/privat/old/FunctionCheck-3.2.0.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.

    1 /*
    2  * FunctionCheck profiler
    3  * (C) Copyright 2000-2012 Yannick Perret
    4  * 
    5  *  This program is free software; you can redistribute it and/or
    6  *  modify it under the terms of the GNU General Public License as
    7  *  published by the Free Software Foundation; either version 2 of the
    8  *  License, or (at your option) any later version.
    9  *
   10  *  This program is distributed in the hope that it will be useful,
   11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   13  *  General Public License for more details.
   14  *
   15  *  You should have received a copy of the GNU General Public License
   16  *  along with this program; if not, write to the Free Software
   17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   18  */
   19 /** fc_com.h: manage coms between profiled program and the manager
   20               (manager side)  **/
   21 
   22 #ifndef __fc_com_manager_h_
   23 #define __fc_com_manager_h_
   24 
   25 #include <stdio.h>
   26 #include <stdlib.h>
   27 #include <unistd.h>
   28 #include <sys/time.h>
   29 #include <sys/types.h>
   30 #include <unistd.h>
   31 
   32 #include "fc_com.h"
   33 
   34 /** the profile mode for other modules **/
   35 extern int fc_mcom_mode;
   36 
   37 /** functions **/
   38 
   39 /* init the communication stuff and read the init message */
   40 int fc_mcom_init(int shmid, int *id, FC_INIT *init);
   41 
   42 /* read a dynamic lib entry */
   43 int fc_mcom_read_lib(FC_LDYN *ldyn);
   44 
   45 /* function pointer of the 'read msg' treatment */
   46 extern int fc_mcom_read(void **function, void **from,
   47         unsigned long long *time, int *id, char *type,
   48         void **ptr, void **incoming, void **where, int *parent,
   49         unsigned int *size, unsigned int *align,
   50         char *name);
   51 
   52 /* stop the communication stuff */
   53 int fc_mcom_fini(unsigned int id);
   54 
   55 #endif /* __fc_com_manager_h_ */