1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-08-05 06:29:29 +00:00
ccnet-server/include/ccnet.h

38 lines
955 B
C
Raw Normal View History

2016-08-18 09:39:55 +00:00
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef _CCNET_H
#define _CCNET_H
#include <ccnet/option.h>
#include <glib.h>
#include <ccnet/valid-check.h>
#include <ccnet/peer.h>
#include <ccnet/message.h>
#include <ccnet/status-code.h>
#include <ccnet/processor.h>
#include <ccnet/ccnet-session-base.h>
#include <ccnet/ccnet-client.h>
#include <ccnet/proc-factory.h>
#include <ccnet/sendcmd-proc.h>
#include <ccnet/mqclient-proc.h>
#include <ccnet/invoke-service-proc.h>
#include <ccnet/timer.h>
#include <searpc-client.h>
#define CCNET_RPC_PIPE_NAME "ccnet-rpc.sock"
2016-08-18 09:39:55 +00:00
GList *ccnet_get_groups_by_user (SearpcClient *client, const char *user, int return_ancestors);
2017-12-29 03:44:49 +00:00
GList *ccnet_get_org_groups_by_user (SearpcClient *client, const char *user, int org_id);
2016-08-18 09:39:55 +00:00
GList *
ccnet_get_group_members (SearpcClient *client, int group_id);
int
ccnet_org_user_exists (SearpcClient *client, int org_id, const char *user);
#endif