This file is indexed.

/usr/include/ccnet/option.h is in libccnet-dev 6.1.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
43
44
45
46
47
48
49
50
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

#ifndef CCNET_OPTION_H
#define CCNET_OPTION_H

#include <stdio.h>
#include <glib.h>

#ifdef WIN32
static inline char *GetDeafaultDir()
{
    static char buf[128];
    static int inited = 0;

    if (!inited) {
        const char *home = g_get_home_dir();
        inited = 1;
        snprintf(buf, 128, "%s/ccnet", home);
    }
    return buf;
}

  #define DEFAULT_CONFIG_DIR GetDeafaultDir()
  #define CONFIG_FILE_NAME   "ccnet.conf"
  #define PREFS_FILE_NAME    "prefs.conf"
#else
  #define DEFAULT_CONFIG_DIR "~/.ccnet"
  #define CONFIG_FILE_NAME   "ccnet.conf"
  #define PREFS_FILE_NAME    "prefs.conf"
#endif

#define PEER_KEYFILE    "mykey.peer"

#define MAX_USERNAME_LEN 20
#define MIN_USERNAME_LEN 2

#define DEFAULT_PORT       10001

#define CHAT_APP      "Chat"
#define PEERMGR_APP   "PeerMgr"
#define GROUPMGR_APP  "GroupMgr"


enum {
    NET_STATUS_DOWN,
    NET_STATUS_INNAT,
    NET_STATUS_FULL
};

#endif