basically defined why2_chat_init_config
//DO STUFF
This commit is contained in:
parent
89ad40a5a5
commit
23d0fced6f
@ -14,4 +14,19 @@ GNU General Public License for more details.
|
|||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <why2/chat/config.h>
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include <why2/chat/flags.h>
|
||||||
|
|
||||||
|
void why2_chat_init_config(void)
|
||||||
|
{
|
||||||
|
if (access(WHY2_CHAT_CONFIG, R_OK) != 0) //CONFIG DOESN'T EXIST
|
||||||
|
{
|
||||||
|
//DO STUFF
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user