mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 00:38:21 +01:00
fix mac linker
This commit is contained in:
parent
0733bec252
commit
3c170bb2f9
@ -1,5 +1,5 @@
|
||||
#include "handle.h"
|
||||
|
||||
config_t server_config;
|
||||
#ifdef USE_OPENSSL
|
||||
int usessl()
|
||||
{
|
||||
|
@ -47,7 +47,7 @@ typedef struct {
|
||||
char* sslkey;
|
||||
#endif
|
||||
}config_t;
|
||||
extern config_t server_config;
|
||||
//extern config_t server_config;
|
||||
typedef struct{
|
||||
int sock;
|
||||
void* ssl;
|
||||
|
@ -3,7 +3,6 @@
|
||||
* Plugin table to store the loaded plugin
|
||||
*/
|
||||
static struct plugin_entry *plugin_table[HASHSIZE];
|
||||
config_t server_config;
|
||||
|
||||
/**
|
||||
* Locate a plugin in the plugin table
|
||||
|
@ -9,7 +9,7 @@ struct plugin_entry {
|
||||
char *pname;
|
||||
void *handle;
|
||||
};
|
||||
|
||||
extern config_t server_config;
|
||||
/* lookup: look for s in hashtab */
|
||||
struct plugin_entry *plugin_lookup(char *s);
|
||||
/* install: put (name, defn) in hashtab */
|
||||
|
Loading…
Reference in New Issue
Block a user