1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-16 23:08:14 +00:00

Improve coding

Merge branch 'outside-build'

Conflicts:
	lib/rpc_table.py
	lib/searpc-server.c
This commit is contained in:
plt
2012-06-21 10:20:26 +08:00
11 changed files with 84 additions and 114 deletions

View File

@@ -7,7 +7,8 @@
#include <glib.h>
#include <glib-object.h>
#include "searpc-server.h"
#include <searpc.h>
#include "searpc-demo-packet.h"
#define BUFLEN 256
@@ -31,10 +32,13 @@ searpc_strlen(const char *str)
return strlen(str);
}
#include "searpc-signature.h"
#include "searpc-marshal.h"
static void
start_rpc_service(void)
{
searpc_server_init();
searpc_server_init(register_marshals);
searpc_create_service("searpc-demo");
/* The first parameter is the implementation function.