pcsc-lite 1.9.9
Macros | Functions
auth.c File Reference

polkit authorization of clients More...

#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/un.h>
#include <stdio.h>
#include "debuglog.h"
#include "auth.h"
#include <errno.h>

Go to the source code of this file.

Functions

unsigned IsClientAuthorized (int socket, const char *action, const char *reader)
 

Detailed Description

polkit authorization of clients

IsClientAuthorized() checks whether the connecting client is authorized to access the resources using polkit.

Definition in file auth.c.

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 43 of file auth.c.

Function Documentation

◆ IsClientAuthorized()

unsigned IsClientAuthorized ( int  socket,
const char action,
const char reader 
)

Definition at line 162 of file auth.c.