#include "ks_array.h"
#include "ks_assoc.h"
#include "ks_bparse.h"
#include "ks_bquery.h"
#include "ks_combination.h"
#include "ks_common.h"
#include "ks_fact.h"
#include "ks_malloc.h"
#include "ks_number.h"
#include "ks_response.h"
#include "ks_string.h"
#include "ks_version.h"
#include "ks_socket.h"
Go to the source code of this file.
Defines | |
| #define | MAX_FEEDS 32 |
| #define | MAX_FSETS MAX_FEEDS |
Functions | |
| int | main (int argc, char **argv) |
Definition in file karmaquery.c.
| #define MAX_FEEDS 32 |
| #define MAX_FSETS MAX_FEEDS |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Main function, parses command line argument, sends a query to a server, and prints out the response.
| argc | number of arguments. | |
| argv | list of arguments. |
Definition at line 327 of file karmaquery.c.
References ks_array_add(), ks_array_free(), ks_array_length(), ks_array_new(), ks_bquery_composite_add(), ks_bquery_feed_add(), ks_bquery_flags_set(), ks_bquery_free(), ks_bquery_new(), KS_FL_FACTS, KS_IDT_DOMAIN, KS_IDT_EMAIL, KS_IDT_IP4, KS_IDT_IP4_ADDRESS, KS_IDT_IP6, KS_IDT_URL, KS_QUERY_HOST_DEFAULT, KS_QUERY_PORT_DEFAULT, ks_response_free(), ks_socket_ask(), ks_socket_connect(), ks_socket_free(), ks_socket_new(), ks_socket_set_auth(), MAX_FEEDS, and MAX_FSETS.
1.5.1