debug(DBG_ERR, "Usage:\n%s [ -c ] configfile", argv[0]);
exit(1);
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
}
exit(status);
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
void debugx(int status, uint8_t level, char *format, ...);
int debug_set_destination(char *dest);
void debug_reopen_log();
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
return NULL;
}
#endif
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
*/
const struct protodefs *dtlsinit(uint8_t h);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
free(val);
return 0;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
void freegconfmstr(char **mstr);
void freegconf(struct gconffile **cf);
struct gconffile *openconfigfile(const char *file);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
e->next = (struct list_node *)entry->next->next;
return e;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
/* returns the next entry after the argument */
struct hash_entry *hash_next(struct hash_entry *entry);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
debug(DBG_ERR, "connecttcphostlist: failed");
return -1;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
struct addrinfo *resolvepassiveaddrinfo(char *hostport, char *default_port, int socktype);
int addressmatches(struct list *hostports, struct sockaddr *addr, uint8_t checkport);
int connecttcphostlist(struct list *hostports, struct addrinfo *src);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
uint32_t list_count(struct list *list) {
return list->count;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
/* returns number of nodes */
uint32_t list_count(struct list *list);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
}
return msg;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
struct tlv *radmsg_gettype(struct radmsg *, uint8_t);
uint8_t *radmsg2buf(struct radmsg *msg, uint8_t *);
struct radmsg *buf2radmsg(uint8_t *, uint8_t *, uint8_t *);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
for (;;)
sleep(1000);
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
int radsrv(struct request *rq);
void replyh(struct server *server, unsigned char *buf);
struct addrinfo *resolve_hostport_addrinfo(uint8_t type, char *hostport);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
return NULL;
}
#endif
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
*/
const struct protodefs *tcpinit(uint8_t h);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
return NULL;
}
#endif
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
*/
const struct protodefs *tlsinit(uint8_t h);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
static void tlsdummy() {
}
#endif
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *val);
int addmatchcertattr(struct clsrvconf *conf);
#endif
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
}
return p;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
void rmtlv(struct list *, uint8_t);
uint8_t *tlv2str(struct tlv *tlv);
uint8_t *tlv2buf(uint8_t *, struct tlv *tlv);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
return NULL;
}
#endif
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
*/
const struct protodefs *udpinit(uint8_t h);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
}
return s;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */
int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only);
int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src, uint16_t timeout);
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */