rlibmap.cxx File Reference

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cctype>
#include <string>
#include <string.h>
#include <vector>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  std

Functions

char * Compress (const char *str)
void UnCompressTemplate (char *&str)
int RemoveLib (const string &solib, bool fullpath, FILE *fp)
int LibMap (const string &solib, const vector< string > &solibdeps, const vector< string > &linkdefs, bool fullpath, FILE *fp)
int main (int argc, char **argv)

Variables

const char * usage = "Usage: %s [-f] [<-r|-o> <mapfile>] -l <sofile> -d <depsofiles> -c <linkdeffiles>\n"


Function Documentation

char* Compress ( const char *  str  ) 

Definition at line 117 of file rlibmap.cxx.

References i, p, s, and s1.

int LibMap ( const string solib,
const vector< string > &  solibdeps,
const vector< string > &  linkdefs,
bool  fullpath,
FILE *  fp 
)

Definition at line 260 of file rlibmap.cxx.

References Compress(), fclose(), fopen, fprintf(), i, len, s, type, and UnCompressTemplate().

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 363 of file rlibmap.cxx.

References fclose(), fopen, fp, fprintf(), FromCygToNativePath(), i, j, LibMap(), lseek, outfile, RemoveLib(), SEEK_SET, and usage.

int RemoveLib ( const string solib,
bool  fullpath,
FILE *  fp 
)

Definition at line 201 of file rlibmap.cxx.

References fseek, fstat, ftruncate, fwrite, line, SEEK_END, SEEK_SET, size_t, stat, and strcpy().

Referenced by main().

void UnCompressTemplate ( char *&  str  ) 

Definition at line 154 of file rlibmap.cxx.

References strcpy().

Referenced by LibMap().


Variable Documentation

const char* usage = "Usage: %s [-f] [<-r|-o> <mapfile>] -l <sofile> -d <depsofiles> -c <linkdeffiles>\n"

Definition at line 74 of file rlibmap.cxx.

Referenced by XrdXrootdProtocol::do_Open(), handle_option(), main(), and WinMain().


Generated on Tue Jul 5 15:57:34 2011 for ROOT_528-00b_version by  doxygen 1.5.1