FOSSology  4.4.0
Open Source License Compliance by Open Source Software
libfossdbmanagerclass.cc File Reference

DB wrapper for agents. More...

#include "libfossdbmanagerclass.hpp"
#include "libfossscheduler.h"
#include "libfossagent.h"
Include dependency graph for libfossdbmanagerclass.cc:

Go to the source code of this file.

Functions

static fo_dbManagerdoConnect (int *argc, char **argv)
 Get the C wrapper for DB manager. More...
 
static unptr::shared_ptr< fo_dbManagermakeShared (fo_dbManager *p)
 Get a shared pointer for DB manager. More...
 

Detailed Description

DB wrapper for agents.

Definition in file libfossdbmanagerclass.cc.

Function Documentation

◆ doConnect()

static fo_dbManager* doConnect ( int *  argc,
char **  argv 
)
static

Get the C wrapper for DB manager.

Parameters
argc
argv
Returns
C wrapper for DbManager

Definition at line 28 of file libfossdbmanagerclass.cc.

◆ makeShared()

static unptr::shared_ptr<fo_dbManager> makeShared ( fo_dbManager p)
inlinestatic

Get a shared pointer for DB manager.

Parameters
p
Returns
Shared DB manager pointer

Definition at line 39 of file libfossdbmanagerclass.cc.