Lines Matching refs:mpConfFilePath
176 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE]; in InitLibrary() local
192 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE); in InitLibrary()
194 if ((fd_mpconf = open(mpConfFilePath, O_RDONLY)) < 0) { in InitLibrary()
3459 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE]; in MP_RegisterPlugin() local
3486 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE); in MP_RegisterPlugin()
3488 if ((chmod(mpConfFilePath, S_IRUSR|S_IRGRP|S_IROTH) == -1) && in MP_RegisterPlugin()
3493 if ((mpconf = open(mpConfFilePath, O_RDWR | O_CREAT)) == -1) { in MP_RegisterPlugin()
3578 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE], in MP_DeregisterPlugin() local
3594 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE); in MP_DeregisterPlugin()
3596 if ((chmod(mpConfFilePath, S_IRUSR|S_IRGRP|S_IROTH) == -1) && in MP_DeregisterPlugin()
3602 if ((mpconf = open(mpConfFilePath, O_RDWR)) == -1) { in MP_DeregisterPlugin()
3662 if (rename(tmp_mpConfFilePath, mpConfFilePath) != 0) { in MP_DeregisterPlugin()