mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 21:36:12 +02:00
26 lines
582 B
C++
26 lines
582 B
C++
//
|
|
// Agent.h
|
|
// interface
|
|
//
|
|
// Created by Philip Rosedale on 11/20/12.
|
|
// Copyright (c) 2012 High Fidelity, Inc. All rights reserved.
|
|
//
|
|
|
|
#ifndef __interface__Agent__
|
|
#define __interface__Agent__
|
|
|
|
#include "glm.hpp"
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
#include "Network.h"
|
|
|
|
void update_agents(char * data, int length);
|
|
int add_agent(std::string * IP);
|
|
int broadcast_to_agents(int handle, char * data, int length);
|
|
void update_agent(in_addr addr, char * data, int length);
|
|
void render_agents();
|
|
|
|
#endif
|