1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#ifndef ROBODOC_LINKS_H
#define ROBODOC_LINKS_H
#include "headertypes.h"
#include "headers.h"
#include "document.h"
/****s* Links/RB_link
* NAME
* RB_link -- link data structure
* PURPOSE
* Structure to store links to the documentation of an component.
* PROPERTIES
* label_name -- the label under which the component can be found.
* this should be a unique name.
* object_name -- the proper name of the object
* file_name -- the file the component can be found in.
* type -- the type of component (the header type).
* is_internal -- is the header an internal header?
* SOURCE
*/
struct RB_link
{
char *label_name;
char *object_name;
char *file_name;
struct RB_HeaderType* htype;
int is_internal;
};
/*********/
int RB_Find_Link( char *word_begin, char **object_name,
char **unique_name, char **file_name );
void RB_CollectLinks( struct RB_Document *document, struct RB_header **headers, unsigned long count );
void RB_Free_Links( void );
void RB_Free_Link( struct RB_link *link );
int RB_Number_Of_Links( struct RB_HeaderType* header_type, char* file_name, int internal );
#endif /* ROBODOC_LINKS_H */
|