File: ports.h

package info (click to toggle)
fireflier 1.1.6-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,348 kB
  • ctags: 1,167
  • sloc: sh: 9,023; cpp: 8,370; makefile: 437; ansic: 300
file content (23 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <stdlib.h>
#include <string.h>
#include "queue.h"


int get_pid(int mode, int local_ip, int local_port);
char *get_program_name(int mode, int local_ip, int local_port);

class cacheelem {
public:
    int mode;
    int local_ip;
    int local_port;
    int pid;
    char *programname;
    int timeout; // timeout counter
    ~cacheelem();
};