Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法从pam_tacplus库访问自定义函数_C - Fatal编程技术网

无法从pam_tacplus库访问自定义函数

无法从pam_tacplus库访问自定义函数,c,C,从github()克隆的tacacs回购协议 在tacacs/support.h下,我添加了自定义函数定义,在tacacs/support.c中,我添加了自定义函数 支持 connection_stats *getServerStats(char *server); 支持.c connection_stats *getServerStats(char *server) { unsigned int index; for(index=0 ; index<total_se

从github()克隆的tacacs回购协议

在tacacs/support.h下,我添加了自定义函数定义,在tacacs/support.c中,我添加了自定义函数

支持

connection_stats *getServerStats(char *server);
支持.c

connection_stats *getServerStats(char *server)

{
    unsigned int index;

    for(index=0 ; index<total_serv_no; index++)
        if( strcmp(server, server_stats[index].server) == 0)
            return &server_stats[index];
    return NULL;
}
connection\u stats*getServerStats(char*server)
{
无符号整数索引;
对于(索引=0;索引