无法从pam_tacplus库访问自定义函数
从github()克隆的tacacs回购协议 在tacacs/support.h下,我添加了自定义函数定义,在tacacs/support.c中,我添加了自定义函数 支持无法从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
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;索引