Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
make_package.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "../src/config/conf.h"
#include "../src/config/config.h"

Macros

#define TBP_VERSION   "0.0.2"
 File: make_package.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru More...
 
#define LIBRARY_MAJOR_VERSION   0
 

Enumerations

enum  B_TYPE { DEB = 1, RPM, YUM, ZYP }
 Build type. More...
 

Functions

void show_usage (const char *appname)
 Show application usage. More...
 
int main (int argc, char **argv)
 Main application function. More...
 

Macro Definition Documentation

#define LIBRARY_MAJOR_VERSION   0

Referenced by main().

#define TBP_VERSION   "0.0.2"

File: make_package.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru

Build package

Created on August 24, 2015, 2:22 AM

Referenced by main().

Enumeration Type Documentation

enum B_TYPE

Build type.

Enumerator
DEB 

Debian.

RPM 

REHL/Centos/Fedora/Suse RPM created under Ubuntu.

YUM 
ZYP 

Function Documentation

int main ( int  argc,
char **  argv 
)

Main application function.

Parameters
argc
argv
Returns

References COPYRIGHT, DEB, KSN_BUFFER_SM_SIZE, LIBRARY_MAJOR_VERSION, RPM, show_usage(), TBP_VERSION, VERSION, YUM, and ZYP.

void show_usage ( const char *  appname)

Show application usage.

Parameters
appname

Referenced by main().