Filename/RB_Get_RB_Filename [ Functions ]
NAME
RB_Get_RB_Filename
SYNOPSIS
struct RB_Filename* RB_Get_RB_Filename( char *arg_filename, struct RB_Path *arg_rb_path )
INPUTS
- arg_rb_filename --
- arg_rb_path --
FUNCTION
Create a new RB_Filename structure based on arg_filename and arg_rb_path.
SOURCE
{ struct RB_Filename *rb_filename = ( struct RB_Filename * ) malloc( sizeof( struct RB_Filename ) ); rb_filename->name = ( char * ) malloc( strlen( arg_filename ) + 1 ); rb_filename->docname = 0; rb_filename->fullname = 0; rb_filename->fulldocname = 0; strcpy( rb_filename->name, arg_filename ); rb_filename->path = arg_rb_path; return rb_filename; }