pidentd  3.0.19
About: implementation of the RFC1413 identification server (more or less complete rewrite compared to version 2)
  Fossies Dox: pidentd-3.0.19.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

gen_osinfo.c
Go to the documentation of this file.
1 /*
2 ** gen_osinfo.c - Generate the compile-time OS information.
3 **
4 ** Copyright (c) 1997 Peter Eriksson <pen@lysator.liu.se>
5 **
6 ** This program is free software; you can redistribute it and/or
7 ** modify it as you wish - as long as you don't claim that you wrote
8 ** it.
9 **
10 ** This program is distributed in the hope that it will be useful,
11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 */
14 
15 #include "config.h"
16 
17 #include <stdio.h>
18 #include <stdlib.h>
19 
20 #include "pidentd.h"
21 
22 
23 int debug = 0;
24 
25 int
26 main(int argc,
27  char *argv[])
28 {
29  char buf[256];
30 
31  printf("char osinfo_build[] = \"%s\";\n", osinfo_get(buf));
32  return EXIT_SUCCESS;
33 }
34 
pidentd.h
osinfo_get
char * osinfo_get(char *buf)
Definition: support.c:39
debug
int debug
Definition: gen_osinfo.c:23
main
int main(int argc, char *argv[])
Definition: gen_osinfo.c:26
EXIT_SUCCESS
#define EXIT_SUCCESS
Definition: system.h:40