void parse_config(FILE *file) {
    char line[256];
    while (fgets(line, sizeof(line), file)) {
        if (line[0] != '#') {
            char *token = strtok(line, "=");
            if (token != NULL) {
                char *key = token;
                token = strtok(NULL, "=");
                if (token != NULL) {
                    char *value = token;
                    if (strcmp(key, "timeout") == 0) {
                        int timeout = atoi(value);
                        if (timeout > 0) {
                            printf("Timeout set to %d\n", timeout);
                        }
                    }
                }
            }
        }
    }
}
